mirror of
https://github.com/atom/atom.git
synced 2026-02-18 18:34:21 -05:00
Log errors
This commit is contained in:
@@ -59,8 +59,10 @@ installContextMenu = (callback) ->
|
||||
exports.handleStartupEvent = ->
|
||||
switch process.argv[1]
|
||||
when '--squirrel-install', '--squirrel-updated'
|
||||
exports.spawn ['--createShortcut', exeName], ->
|
||||
installContextMenu ->
|
||||
exports.spawn ['--createShortcut', exeName], (error) ->
|
||||
console.log(error)
|
||||
installContextMenu (error) ->
|
||||
console.log(error)
|
||||
app.quit()
|
||||
true
|
||||
when '--squirrel-uninstall'
|
||||
|
||||
Reference in New Issue
Block a user