mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-25 17:13:47 +01:00
try kill again
This commit is contained in:
parent
6c5842d2e7
commit
36fd3c5d68
@ -116,11 +116,7 @@ app.whenReady().then(() => {
|
||||
createWindow(process.argv.includes("--no-scripts"));
|
||||
});
|
||||
|
||||
app.on("window-all-closed", function () {
|
||||
app.quit();
|
||||
});
|
||||
|
||||
app.on("before-quit", () => {
|
||||
app.once("window-all-closed", app.quit);
|
||||
app.once("before-quit", () => {
|
||||
win.removeAllListeners("close");
|
||||
win.close();
|
||||
});
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user