app.on('window-all-closed', () => { if (process.platform !== 'darwin') { app.quit(); } });
ipcMain.on("quitApp", function() { downloadsSaved = true; app.quit(); });
app.quit(); });
app.on('ready', function () { tape.onFinish(() => app.quit()) tape.onFailure(() => app.exit(1)) for (const file of glob.sync('test/*-test.js')) { require(path.resolve('.', file)) } })
// Quit when all windows are closed. app.on('window-all-closed', () => { // On OS X it is common for applications and their menu bar // to stay active until the user quits explicitly with Cmd + Q if (process.platform !== 'darwin') { app.quit(); } });
app.on('window-all-closed', () => { if (process.platform !== 'darwin') { app.quit(); } });
app.on('window-all-closed', () => { promptOnClose = false; if (process.platform !== 'darwin') { app.quit(); } });
// Quit when all windows are closed. app.on("window-all-closed", () => { app.quit(); });
app.on('window-all-closed', _ => { if (process.platform !== 'darwin') { app.quit(); } });
app.on('window-all-closed', _ => { if (process.platform !== 'darwin') { app.quit(); } });
app.on('window-all-closed', function () { if (process.platform !== 'darwin') app.quit(); });
// Quit when all windows are closed. app.on('window-all-closed', () => { // On OS X it is common for applications and their menu bar // to stay active until the user quits explicitly with Cmd + Q if (process.platform !== 'darwin') { app.quit(); } });
app.on("window-all-closed", () => { if (process.platform !== "darwin") { app.quit() } })
// Quit when all windows are closed. app.on('window-all-closed', function() { // On OS X it is common for applications and their menu bar // to stay active until the user quits explicitly with Cmd + Q if (platform != 'mac') { app.quit(); } });
// Quit when all windows are closed. app.on('window-all-closed', () => { // On macOS it is common for applications and their menu bar // to stay active until the user quits explicitly with Cmd + Q if (process.platform !== 'darwin') { app.quit(); } });