mirror of
https://github.com/Eugeny/tabby.git
synced 2025-07-19 18:07:58 +00:00
only leave a process running on macOS- fixes #4442
This commit is contained in:
@@ -26,7 +26,11 @@ app.on('activate', () => {
|
||||
}
|
||||
})
|
||||
|
||||
app.on('window-all-closed', () => null)
|
||||
app.on('window-all-closed', () => {
|
||||
if (process.platform !== 'darwin') {
|
||||
app.quit()
|
||||
}
|
||||
})
|
||||
|
||||
process.on('uncaughtException' as any, err => {
|
||||
console.log(err)
|
||||
|
Reference in New Issue
Block a user