mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-18 13:43:49 +01:00
electron debug flag
This commit is contained in:
parent
74739af031
commit
5d37eecdd6
@ -15,8 +15,7 @@ function createWindow() {
|
|||||||
win.maximize();
|
win.maximize();
|
||||||
win.loadFile("index.html");
|
win.loadFile("index.html");
|
||||||
win.show();
|
win.show();
|
||||||
if(debug)
|
if (debug) win.webContents.openDevTools();
|
||||||
win.webContents.openDevTools();
|
|
||||||
globalShortcut.register("f5", function () {
|
globalShortcut.register("f5", function () {
|
||||||
win.loadFile("index.html");
|
win.loadFile("index.html");
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user