mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2025-01-09 00:30:14 +03:00
Add a command
This commit is contained in:
parent
ebcae85f1a
commit
f3ea2cd9e0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user