From 7624f2da98b23e7d4eb96b404f645f5beb3cd591 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Thu, 28 Apr 2016 12:14:39 +0200 Subject: [PATCH] fixes for cross-zip@2 --- bin/package.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/package.js b/bin/package.js index 1c0fc89d..298fc84b 100755 --- a/bin/package.js +++ b/bin/package.js @@ -277,7 +277,7 @@ function buildDarwin (cb) { var inPath = path.join(buildPath[0], config.APP_NAME + '.app') var outPath = path.join(DIST_PATH, BUILD_NAME + '-darwin.zip') - zip(inPath, outPath) + zip.zipSync(inPath, outPath) console.log('OS X: Created zip.') } @@ -391,7 +391,7 @@ function buildWin32 (cb) { var inPath = path.join(DIST_PATH, path.basename(buildPath[0])) var outPath = path.join(DIST_PATH, BUILD_NAME + '-win.zip') - zip(inPath, outPath) + zip.zipSync(inPath, outPath) console.log('Windows: Created portable app.') cb(null) @@ -455,7 +455,7 @@ function buildLinux (cb) { var inPath = path.join(DIST_PATH, path.basename(filesPath)) var outPath = path.join(DIST_PATH, BUILD_NAME + '-linux-' + destArch + '.zip') - zip(inPath, outPath) + zip.zipSync(inPath, outPath) console.log(`Linux: Created ${destArch} zip.`) cb(null)