mirror of
https://github.com/atom/atom.git
synced 2026-01-23 22:08:08 -05:00
Just use first argv value
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user