mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 01:54:40 +08:00
fix(win10): Prevent duplicate taskbar items
Fixes #368, #184 Related to #351
This commit is contained in:
parent
0fae7ce13c
commit
bfb16bbe1a
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ start = ->
|
|||
squirrelCommand = process.argv[1]
|
||||
return if SquirrelUpdate.handleStartupEvent(app, squirrelCommand)
|
||||
|
||||
# This prevents Win10 from showing dupe items in the taskbar
|
||||
app.setAppUserModelId('com.squirrel.nylas.nylas')
|
||||
|
||||
addPathToOpen = (event, pathToOpen) ->
|
||||
event.preventDefault()
|
||||
args.pathsToOpen.push(pathToOpen)
|
||||
|
|
Loading…
Reference in a new issue