Add a command

This commit is contained in:
Kevin Sawicki 2014-06-13 12:33:54 -07:00
parent ebcae85f1a
commit f3ea2cd9e0

View File

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