diff --git a/src/main/index.ts b/src/main/index.ts index 5c2e7cd..d832da2 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -25,4 +25,7 @@ function bootstrap() { app.whenReady().then(bootstrap) -app.on('window-all-closed', () => { win = null }) +app.on('window-all-closed', () => { + win = null + app.quit() +})