mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-17 13:13:49 +01:00
electron always dev tools
This commit is contained in:
parent
e6291a09a0
commit
cdd9c174e7
@ -5,7 +5,7 @@ function createWindow() {
|
|||||||
const win = new BrowserWindow({
|
const win = new BrowserWindow({
|
||||||
show: false,
|
show: false,
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
devTools: false,
|
devTools: true,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ function createWindow() {
|
|||||||
win.maximize();
|
win.maximize();
|
||||||
win.loadFile("index.html");
|
win.loadFile("index.html");
|
||||||
win.show();
|
win.show();
|
||||||
// win.webContents.openDevTools();
|
win.webContents.openDevTools();
|
||||||
globalShortcut.register("f5", function () {
|
globalShortcut.register("f5", function () {
|
||||||
win.loadFile("index.html");
|
win.loadFile("index.html");
|
||||||
});
|
});
|
||||||
|
@ -480,7 +480,8 @@ export function queryStatFromString(str) {
|
|||||||
|
|
||||||
/******* Working functions *******/
|
/******* Working functions *******/
|
||||||
export function resetWorkStatus(generalType, group, workType) {
|
export function resetWorkStatus(generalType, group, workType) {
|
||||||
if (generalType === this.workType && group === this.companyName) return;
|
if (this.workType !== CONSTANTS.WorkTypeFaction && generalType === this.workType && group === this.companyName)
|
||||||
|
return;
|
||||||
if (generalType === this.workType && group === this.currentWorkFactionName && workType === this.factionWorkType)
|
if (generalType === this.workType && group === this.currentWorkFactionName && workType === this.factionWorkType)
|
||||||
return;
|
return;
|
||||||
if (this.isWorking) this.singularityStopWork();
|
if (this.isWorking) this.singularityStopWork();
|
||||||
|
Loading…
Reference in New Issue
Block a user