feat: electron dev
This commit is contained in:
parent
21651586c0
commit
1311b12e59
|
@ -51,6 +51,7 @@
|
|||
window:
|
||||
- '@persea/core'
|
||||
- '...'
|
||||
url: 'https://persea.local.cha0s.io'
|
||||
'@flecks/governor': {}
|
||||
'@flecks/web': {}
|
||||
'@flecks/web/client':
|
||||
|
|
|
@ -26,6 +26,7 @@ export default {
|
|||
),
|
||||
'@flecks/electron/server.window': async (win) => {
|
||||
win.removeMenu();
|
||||
win.openDevTools();
|
||||
win.maximize();
|
||||
win.once('ready-to-show', () => {
|
||||
win.show();
|
||||
|
|
9
patches/electron+18.0.1.patch
Normal file
9
patches/electron+18.0.1.patch
Normal file
|
@ -0,0 +1,9 @@
|
|||
diff --git a/node_modules/electron/cli.js b/node_modules/electron/cli.js
|
||||
index 09f4677..b64bb88 100755
|
||||
--- a/node_modules/electron/cli.js
|
||||
+++ b/node_modules/electron/cli.js
|
||||
@@ -23,3 +23,4 @@ const handleTerminationSignal = function (signal) {
|
||||
|
||||
handleTerminationSignal('SIGINT');
|
||||
handleTerminationSignal('SIGTERM');
|
||||
+handleTerminationSignal('SIGUSR2');
|
Loading…
Reference in New Issue
Block a user