added binary dependencies to repo

This commit is contained in:
azivner 2018-01-07 11:49:35 -05:00
parent 0e8285a7e4
commit bde9e825c8
7 changed files with 6 additions and 4 deletions

View file

@ -4,9 +4,11 @@ echo "Deleting dist"
rm -r dist/* rm -r dist/*
cp -r ../trilium-node-binaries/sqlite/* node_modules/sqlite3/lib/binding/ cp -r bin/deps/sqlite/* node_modules/sqlite3/lib/binding/
cp -r bin/deps/scrypt/* node_modules/scrypt/bin/
cp -r ../trilium-node-binaries/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/
./node_modules/.bin/electron-rebuild --arch=ia32 ./node_modules/.bin/electron-rebuild --arch=ia32
@ -19,4 +21,4 @@ cp -r ../trilium-node-binaries/scrypt/* node_modules/scrypt/bin/
./node_modules/.bin/electron-packager . --out=dist --platform=win32 --arch=x64 --overwrite ./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 # can't copy this before the packaging because the same file name is used for both linux and windows build
cp ../trilium-node-binaries/scrypt.node ./dist/trilium-win32-x64/resources/app/node_modules/scrypt/build/Release/ cp bin/deps/scrypt/win32-x64-57/scrypt.node ./dist/trilium-win32-x64/resources/app/node_modules/scrypt/build/Release/

BIN
bin/deps/image/cjpeg.exe Normal file

Binary file not shown.

BIN
bin/deps/image/gifsicle.exe Normal file

Binary file not shown.

BIN
bin/deps/image/pngquant.exe Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.