From bf03d601761d7e63dfebbcb179a2aecea7cc76b2 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Sun, 6 Nov 2016 19:53:32 +0100 Subject: [PATCH] Preserve links when zipping To reduce output file size on mac --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 35130c98..d5f8f628 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "package:win32_x64": "PLATFORM=win32 ARCH=x64 ICON=app.ico npm run package-single", "package:linux_ia32": "PLATFORM=linux ARCH=ia32 ICON=app.ico npm run package-single", "package:linux_x64": "PLATFORM=linux ARCH=x64 ICON=app.ico npm run package-single", - "zip": "(cd package && rm -f LosslessCut-*.zip && for f in LosslessCut-*; do zip -r \"$f\".zip \"$f\"; done)", + "zip": "(cd package && rm -f LosslessCut-*.zip && for f in LosslessCut-*; do zip -r --symlinks \"$f\".zip \"$f\"; done)", "icon-gen": "icon-gen -i src/icon.svg -o ./icon-dist -r", "package": "npm run package:darwin_x64 && npm run package:win32_ia32 && npm run package:win32_x64 && npm run package:linux_ia32 && npm run package:linux_x64 && npm run zip", "gifify": "gifify -p 405:299 -r 5@3 Untitled.mov-00.00.00.971-00.00.19.780.mp4",