diff --git a/bin/build.sh b/bin/build.sh index b4e568c49..27c6411c9 100755 --- a/bin/build.sh +++ b/bin/build.sh @@ -5,7 +5,6 @@ echo "Deleting dist" rm -r dist/* cp -r bin/deps/sqlite/* node_modules/sqlite3/lib/binding/ -cp -r bin/deps/scrypt/* node_modules/scrypt/bin/ cp -r bin/deps/image/cjpeg.exe node_modules/mozjpeg/vendor/ cp -r bin/deps/image/pngquant.exe node_modules/pngquant-bin/vendor/ cp -r bin/deps/image/gifsicle.exe node_modules/giflossy/vendor/ @@ -21,4 +20,4 @@ cp -r bin/deps/image/gifsicle.exe node_modules/giflossy/vendor/ ./node_modules/.bin/electron-packager . --out=dist --platform=win32 --arch=x64 --overwrite # can't copy this before the packaging because the same file name is used for both linux and windows build -cp bin/deps/scrypt/win32-x64-57/scrypt.node ./dist/trilium-win32-x64/resources/app/node_modules/scrypt/build/Release/ +cp bin/deps/scrypt.node ./dist/trilium-win32-x64/resources/app/node_modules/scrypt/build/Release/ diff --git a/bin/deps/scrypt.node b/bin/deps/scrypt.node new file mode 100644 index 000000000..713385768 Binary files /dev/null and b/bin/deps/scrypt.node differ diff --git a/bin/deps/scrypt/win32-x64-57/scrypt.node b/bin/deps/scrypt/win32-x64-57/scrypt.node deleted file mode 100644 index 188447d1d..000000000 Binary files a/bin/deps/scrypt/win32-x64-57/scrypt.node and /dev/null differ