fix(desktop): force app exit on windows window close
This commit is contained in:
@@ -145,6 +145,10 @@ app.whenReady().then(createWindow)
|
||||
app.on('window-all-closed', () => {
|
||||
if (process.platform !== 'darwin') {
|
||||
stopServerProcess()
|
||||
if (process.platform === 'win32') {
|
||||
app.exit(0)
|
||||
return
|
||||
}
|
||||
app.quit()
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user