diff --git a/electron/main.js b/electron/main.js index a15cfced..1943a54b 100644 --- a/electron/main.js +++ b/electron/main.js @@ -57,7 +57,7 @@ app.whenReady().then(() => { bootServer(); createWindow(); - app.on("activate", function() { + app.on("activate", function () { // On macOS it's common to re-create a window in the app when the // dock icon is clicked and there are no other windows open. if (BrowserWindow.getAllWindows().length === 0) createWindow(); @@ -67,7 +67,7 @@ app.whenReady().then(() => { // Quit when all windows are closed, except on macOS. There, it's common // for applications and their menu bar to stay active until the user quits // explicitly with Cmd + Q. -app.on("window-all-closed", function() { +app.on("window-all-closed", function () { if (process.platform !== "darwin") app.quit(); });