🎢 修复 Mac 电脑无法完全退出的BUG

This commit is contained in:
hunlongyu
2020-06-02 10:54:17 +08:00
parent 09bd9d8401
commit a93d4042ba
2 changed files with 2 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "zy",
"version": "1.0.16",
"version": "1.0.17",
"private": true,
"author": {
"name": "Hunlongyu",

View File

@@ -81,9 +81,7 @@ if (process.platform === 'Linux') {
}
app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {
app.quit()
}
app.quit()
})
app.on('activate', () => {