re-add noscripts

This commit is contained in:
Olivier Gagnon 2021-12-18 10:43:19 -05:00
parent 1368e468bb
commit 21191e0b8d
2 changed files with 3 additions and 3 deletions

@ -13,7 +13,7 @@ function createWindow(killall) {
const win = new BrowserWindow({
show: false,
backgroundThrottling: false,
backgroundColor: '#000000',
backgroundColor: "#000000",
});
win.removeMenu();
@ -141,6 +141,6 @@ function setStopProcessHandler(app, window, enabled) {
}
app.whenReady().then(() => {
const win = createWindow(false);
const win = createWindow(process.argv.includes("--no-scripts"));
setStopProcessHandler(app, win, true);
});

File diff suppressed because one or more lines are too long