mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
fix(win10): Prevent duplicate taskbar items
Fixes #368, #184 Related to #351
This commit is contained in:
parent
451816a183
commit
b12354b7c2
|
@ -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