mirror of
https://github.com/zadam/trilium.git
synced 2025-02-01 12:00:17 +08:00
added binary dependencies to repo
This commit is contained in:
parent
0e8285a7e4
commit
bde9e825c8
7 changed files with 6 additions and 4 deletions
10
bin/build.sh
10
bin/build.sh
|
@ -4,9 +4,11 @@ echo "Deleting dist"
|
|||
|
||||
rm -r dist/*
|
||||
|
||||
cp -r ../trilium-node-binaries/sqlite/* node_modules/sqlite3/lib/binding/
|
||||
|
||||
cp -r ../trilium-node-binaries/scrypt/* node_modules/scrypt/bin/
|
||||
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/
|
||||
|
||||
./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
|
||||
|
||||
# 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
BIN
bin/deps/image/cjpeg.exe
Normal file
Binary file not shown.
BIN
bin/deps/image/gifsicle.exe
Normal file
BIN
bin/deps/image/gifsicle.exe
Normal file
Binary file not shown.
BIN
bin/deps/image/pngquant.exe
Normal file
BIN
bin/deps/image/pngquant.exe
Normal file
Binary file not shown.
BIN
bin/deps/scrypt/win32-x64-57/scrypt.node
Normal file
BIN
bin/deps/scrypt/win32-x64-57/scrypt.node
Normal file
Binary file not shown.
BIN
bin/deps/sqlite/electron-v1.8-win32-x64/node_sqlite3.node
Normal file
BIN
bin/deps/sqlite/electron-v1.8-win32-x64/node_sqlite3.node
Normal file
Binary file not shown.
BIN
bin/deps/sqlite/node-v57-win32-x64/node_sqlite3.node
Normal file
BIN
bin/deps/sqlite/node-v57-win32-x64/node_sqlite3.node
Normal file
Binary file not shown.
Loading…
Reference in a new issue