Add more logging

This commit is contained in:
Kevin Sawicki
2014-11-18 10:35:02 -08:00
parent b8a263c570
commit 9fc96ba7d4

View File

@@ -46,6 +46,7 @@ installContextMenu = (callback) ->
installFileMenu = ->
args = [fileKeyPath, '/ve', '/d', 'Open with Atom', '/f']
spawnReg args, (error) ->
console.log 'done'
# return callback(error) if error?
args = [fileKeyPath, '/v', 'Icon', '/d', process.execPath, '/f']
@@ -63,7 +64,7 @@ exports.handleStartupEvent = ->
when '--squirrel-install', '--squirrel-updated'
exports.spawn ['--createShortcut', exeName], ->
installContextMenu (error) ->
console.log(error)
console.log(error) if error?
app.quit()
true
when '--squirrel-uninstall'