Just use first argv value

This commit is contained in:
Kevin Sawicki
2014-11-13 14:49:12 -08:00
parent f2581e8d96
commit 5770366c00

View File

@@ -14,8 +14,6 @@ removeShortcut = ->
app.quit()
module.exports = ->
return false if process.argv.length isnt 2
switch process.argv[1]
when '--squirrel-install', '--squirrel-updated'
createShortcut()