Skip to content

Commit

Permalink
build fixed
Browse files Browse the repository at this point in the history
compression libraries weren't installed when using prebuilt binaries
  • Loading branch information
TanninOne committed Jul 6, 2022
1 parent 5f6119a commit d607130
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gamebryo-savegame",
"version": "2.0.5",
"version": "2.0.6",
"description": "Parses gamebryo savegames",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand All @@ -9,13 +9,13 @@
"url": "https://github.com/Nexus-Mods/node-gamebryo-savegames.git"
},
"scripts": {
"upload": "prebuild.cmd -r napi -t 4 -a x64 --prepack codesign",
"prebuild": "node download_lz4.js && node download_zlib.js",
"build": "autogypi && node-gyp configure build",
"preinstall": "autogypi",
"upload": "prebuild -r napi -t 4 -a x64 --prepack prepack --include-regex \"\\.(node|dll)$\"",
"copy_deps": "copyfiles -f ./lz4/dll/liblz4.dll build/Release && copyfiles -f ./zlib/bin/zlib.dll build/Release",
"build_deps": "node download_lz4.js && node download_zlib.js",
"build": "npm run build_deps && autogypi && node-gyp configure build && npm run copy_deps",
"nativebuild": "node-gyp rebuild",
"install": "prebuild-install -r napi -t 4 -a x64 || node-gyp rebuild",
"postinstall": "copyfiles -f ./build/Release/*.node dist && copyfiles -f ./lz4/dll/liblz4.dll dist && copyfiles -f ./zlib/bin/zlib.dll dist"
"install": "prebuild-install -r napi -t 4 -a x64 || npm run build",
"postinstall": "copyfiles -f ./build/Release/*.node dist && copyfiles -f ./build/Release/*.dll dist"
},
"author": "Black Tree Gaming Ltd",
"license": "GPL-3.0",
Expand Down

0 comments on commit d607130

Please sign in to comment.