Skip to content

Commit

Permalink
Possible fix to app showing up in taskbar sometimes
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Jan 20, 2020
1 parent cda2803 commit 3a56c2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -753,6 +753,8 @@ function toggleTray() {
mainWindow.setAlwaysOnTop(true)
mainWindow.webContents.send("tray-clicked")
mainWindow.focus()
mainWindow.setSkipTaskbar(false)
mainWindow.setSkipTaskbar(true)
}
}

Expand Down

0 comments on commit 3a56c2e

Please sign in to comment.