mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-20 00:51:33 +03:00
Merge branch 'master' of github.com:Eugeny/tabby
This commit is contained in:
commit
c88b02fa91
@ -93,6 +93,10 @@ export class Application {
|
|||||||
app.commandLine.appendSwitch(flag[0], flag[1])
|
app.commandLine.appendSwitch(flag[0], flag[1])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
app.on('before-quit', () => {
|
||||||
|
this.quitRequested = true
|
||||||
|
})
|
||||||
|
|
||||||
app.on('window-all-closed', () => {
|
app.on('window-all-closed', () => {
|
||||||
if (this.quitRequested || process.platform !== 'darwin') {
|
if (this.quitRequested || process.platform !== 'darwin') {
|
||||||
app.quit()
|
app.quit()
|
||||||
|
Loading…
Reference in New Issue
Block a user