binaries: fall back to gzip compression as it is ~3x faster while losing only 2% of space

Massimo Melina committed May 9, 2022 at 18:19 UTC 1f62c739f5bd3643fea226b67cce907d020bd771
2 files changed +2 -3
README.md
+1 -2
@@ -42,8 +42,7 @@ If your system is not covered, you can try this alternative version:
42
43 1. install node.js version 16+ from https://nodejs.org/
44 2. download and unzip `hfs-node.zip`
45 -3. chmod +x run
46 -4. launch `./run`
45 +3. launch `./run`
46
47 ## Plug-ins
48
package.json
+1 -1
@@ -23,7 +23,7 @@
23 "build-shared": "cd shared && npx tsc",
24 "test": "mocha -r ts-node/register 'tests/**/*.ts'",
25 "dist-node": "cd dist && zip hfs-node.zip -r * -x *.zip *.exe hfs-*",
26 - "dist-bin": "pkg . -C brotli && cd dist && mv -f hfs-win.exe hfs.exe && zip hfs-windows.zip hfs.exe -r plugins && cp -f hfs-linux hfs && zip hfs-linux.zip hfs -r plugins && cp -f hfs-macos hfs && zip hfs-macos.zip hfs -r plugins && rm hfs",
26 + "dist-bin": "pkg . -C gzip && cd dist && mv -f hfs-win.exe hfs.exe && zip hfs-windows.zip hfs.exe -r plugins && cp -f hfs-linux hfs && zip hfs-linux.zip hfs -r plugins && cp -f hfs-macos hfs && zip hfs-macos.zip hfs -r plugins && rm hfs",
27 "dist": "npm run build-all && npm run dist-node && npm run dist-bin"
28 },
29 "engines": {