mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-18 12:15:44 +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({
|
||||
show: false,
|
||||
webPreferences: {
|
||||
devTools: false,
|
||||
devTools: true,
|
||||
},
|
||||
});
|
||||
|
||||
@ -13,7 +13,7 @@ function createWindow() {
|
||||
win.maximize();
|
||||
win.loadFile("index.html");
|
||||
win.show();
|
||||
// win.webContents.openDevTools();
|
||||
win.webContents.openDevTools();
|
||||
globalShortcut.register("f5", function () {
|
||||
win.loadFile("index.html");
|
||||
});
|
||||
|
@ -480,7 +480,8 @@ export function queryStatFromString(str) {
|
||||
|
||||
/******* Working functions *******/
|
||||
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)
|
||||
return;
|
||||
if (this.isWorking) this.singularityStopWork();
|
||||
|
Loading…
Reference in New Issue
Block a user