diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 6924b57..4e64414 100644 --- a/src/index.js +++ b/src/index.js @@ -20,7 +20,9 @@ function start() { nodeIntegration: true, contextIsolation: false, }, - }); win.openDevTools() + }); + + if (cli.hasParam("debug")) {win.openDevTools()} win.removeMenu(); win.loadFile(__dirname + "/app/index.html"); |