mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-12 02:19:55 +08:00
quit app when no window exist
This commit is contained in:
@@ -39,9 +39,7 @@ export function openSettingWindow() {
|
||||
// for applications and their menu bar to stay active until the user quits
|
||||
// explicitly with Cmd + Q.
|
||||
app.on('window-all-closed', () => {
|
||||
if (process.platform !== 'darwin') {
|
||||
app.quit()
|
||||
}
|
||||
app.quit()
|
||||
})
|
||||
|
||||
// In this file you can include the rest of your app"s specific main process
|
||||
|
||||
Reference in New Issue
Block a user