mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
Use full path
This commit is contained in:
parent
d5ec8551e1
commit
0b79c31d45
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user