dock not always defined

This commit is contained in:
2021-04-06 23:08:13 +02:00
parent dd74820963
commit 30319197c6
2 changed files with 72 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ app
.whenReady()
.then(() => {
logger.log('Initializing')
if (!DEV) app.dock.hide()
if (!DEV) app.dock?.hide()
TrayUtility.init()
Settings.init()
Banner.init()