Use full path

This commit is contained in:
Kevin Sawicki 2014-06-13 12:02:04 -07:00
parent d5ec8551e1
commit 0b79c31d45

View File

@ -53,7 +53,7 @@ zipApps = (buildDir, assets, callback) ->
zip = (directory, sourceName, assetName, callback) ->
if process.platform is 'win32'
options = {cwd: directory, maxBuffer: Infinity}
child_process.exec "7za -r #{assetName} #{sourceName}", options, (error, stdout, stderr) ->
child_process.exec "C:/psmodules/7z.exe -r #{assetName} #{sourceName}", options, (error, stdout, stderr) ->
if error?
logError("Zipping #{sourceName} failed", error, stderr)
callback(error)