Use JANKY_SIGNTOOL env var to sign

This commit is contained in:
Kevin Sawicki 2014-07-05 10:11:34 -07:00
parent 3c5312e834
commit c897f42d51

View File

@ -28,7 +28,7 @@ module.exports = (grunt) ->
args = ['-f', '-v', '-s', 'Developer ID Application: GitHub', grunt.config.get('atom.shellAppDir')]
spawn {cmd, args}, (error) -> callback(error)
when 'win32'
cmd = 'signtool.bat'
cmd = process.env.JANKY_SIGNTOOL ? 'signtool'
args = [path.join(grunt.config.get('atom.shellAppDir'), 'atom.exe')]
spawn {cmd, args}, (error) -> callback(error)
else