From 8bc0aef4829ad6f6b07525aaf277891af2dbf278 Mon Sep 17 00:00:00 2001 From: Molunerfinn Date: Wed, 11 Jul 2018 10:04:42 +0800 Subject: [PATCH] Fixed: linux version quit bug --- src/main/index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/index.js b/src/main/index.js index c258398..cf0c138 100644 --- a/src/main/index.js +++ b/src/main/index.js @@ -261,6 +261,9 @@ const createSettingWindow = () => { settingWindow.on('closed', () => { settingWindow = null + if (process.platform === 'linux') { + app.quit() + } }) createMenu() createMiniWidow()