Feature: 为Linux系统适配桌面图标栏(Tray) (#603)

This commit is contained in:
刘沛源
2020-12-29 09:59:50 +08:00
committed by GitHub
parent 2129f86266
commit 0fe3ade5c3
3 changed files with 201 additions and 140 deletions

View File

@@ -56,9 +56,7 @@ class LifeCycle {
}
windowManager.create(IWindowList.TRAY_WINDOW)
windowManager.create(IWindowList.SETTING_WINDOW)
if (process.platform === 'darwin' || process.platform === 'win32') {
createTray()
}
createTray()
db.set('needReload', false)
updateChecker()
// 不需要阻塞