Windows: fix magnet link handling

This commit is contained in:
Feross Aboukhadijeh
2016-03-25 02:40:27 -07:00
parent b0672cce9e
commit c788b3358a

View File

@@ -17,7 +17,7 @@ var argv = sliceArgv(process.argv)
if (process.platform === 'win32') {
shouldQuit = squirrelWin32.handleEvent(argv[0])
argv.shift() // Remove any --squirrel-xxxx arguments
argv = argv.filter((arg) => arg.indexOf('--squirrel') === -1)
// app.setAppUserModelId('com.squirrel.WebTorrent.WebTorrent')
}