Fixed: linux version quit bug

This commit is contained in:
Molunerfinn 2018-07-11 10:04:42 +08:00
parent 353f553988
commit 8bc0aef482

View File

@ -261,6 +261,9 @@ const createSettingWindow = () => {
settingWindow.on('closed', () => {
settingWindow = null
if (process.platform === 'linux') {
app.quit()
}
})
createMenu()
createMiniWidow()