diff --git a/main.ts b/main.ts index d057a1da..e3cf1568 100644 --- a/main.ts +++ b/main.ts @@ -52,6 +52,10 @@ function createWindow(): BrowserWindow { // in an array if your app supports multi windows, this is the time // when you should delete the corresponding element. win = null; + + if (process.platform !== 'darwin') { + app.quit(); + } }); return win;