fix: exe distribution was not using native crc32 lib when built under linux
Massimo Melina committed
May 31, 2022 at 23:32 UTC
945fa3ac25f5a41eeed556f3536ed3a8a872f094
2 files changed
+1
-2
package.json
+1
-1
@@ -26,7 +26,7 @@
26
"dist-node": "cd dist && zip hfs-node.zip -r * -x *.zip *.exe hfs-*",
27
"dist-win": "pkg . -C gzip -t node16-win && cd dist && zip hfs-windows.zip hfs.exe -r plugins",
28
"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",
29
- "dist": "npm run build-all && npm run dist-node && npm run dist-bin"
29
+ "dist": "npm run build-all && npm run dist-node && npm install @node-rs/crc32-win32-x64-msvc -f && npm run dist-bin"
30
},
31
"engines": {
32
"node": ">=16.13.0"
todo.md
-1
@@ -1,5 +1,4 @@
1
# To do
2
-- fix: exe is not using native crc32 lib
2
- plugin api to read hfs config
3
- plugin: config to be able to declare a file field (real-path) https://github.com/rejetto/hfs/issues/46
4
- fix: root without can_download breaks