Log errors

This commit is contained in:
Kevin Sawicki
2014-11-18 10:25:57 -08:00
parent 2c39f3515b
commit 932207b106

View File

@@ -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'