Skip to content

Commit

Permalink
open new window on clicking app icon in tray
Browse files Browse the repository at this point in the history
  • Loading branch information
Mauve Signweaver committed May 13, 2023
1 parent ff3ddc6 commit 29e7c4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ async function onready () {
])
// Call this again for Linux because we modified the context menu
appIcon.setContextMenu(contextMenu)
appIcon.on('click',() => {
createWindow()
})

const webSession = session.fromPartition(WEB_PARTITION)

Expand Down

0 comments on commit 29e7c4a

Please sign in to comment.