Add missing atom.exe path

This commit is contained in:
Kevin Sawicki 2015-08-06 12:54:59 -07:00
parent 6cae6d3d12
commit effa54f4da

View File

@ -7,7 +7,7 @@ module.exports = (grunt) ->
done = @async()
spawn {cmd: 'taskkill', args: ['/F', '/IM', 'atom.exe']}, ->
cmd = process.env.JANKY_SIGNTOOL ? 'signtool'
atomExePath = path.join(grunt.config.get('atom.shellAppDir'), 'atom.exe')
spawn {cmd, args: [atomExePath]}, (error) ->
return done(error) if error?