mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 09:12:08 +08:00
fix spellcheck build on windows
This commit is contained in:
parent
0b43eceb2d
commit
7dc793920f
5 changed files with 1902 additions and 2422 deletions
|
@ -13,9 +13,6 @@ cp -r bin/deps/linux-x64/sqlite/* node_modules/sqlite3/lib/binding/
|
|||
cp bin/deps/linux-x64/image/pngquant node_modules/pngquant-bin/vendor/
|
||||
cp bin/deps/linux-x64/spellchecker/* node_modules/@felixrieseberg/spellchecker/build/Release/
|
||||
|
||||
# rebuild binaries for image operations (pngquant ...)
|
||||
npm rebuild
|
||||
|
||||
./node_modules/.bin/electron-packager . --asar --out=dist --executable-name=trilium --platform=linux --arch=x64 --overwrite
|
||||
|
||||
mv "./dist/Trilium Notes-linux-x64" $BUILD_DIR
|
||||
|
|
|
@ -10,12 +10,14 @@ rm -r node_modules/mozjpeg/vendor/*
|
|||
rm -r node_modules/pngquant-bin/vendor/*
|
||||
rm -r node_modules/giflossy/vendor/*
|
||||
rm -r node_modules/@felixrieseberg/spellchecker/build/Release/*
|
||||
rm -r node_modules/keyboard-layout/build/Release/*
|
||||
|
||||
cp -r bin/deps/win-x64/sqlite/* node_modules/sqlite3/lib/binding/
|
||||
cp bin/deps/win-x64/image/cjpeg.exe node_modules/mozjpeg/vendor/
|
||||
cp bin/deps/win-x64/image/pngquant.exe node_modules/pngquant-bin/vendor/
|
||||
cp bin/deps/win-x64/image/gifsicle.exe node_modules/giflossy/vendor/
|
||||
cp bin/deps/win-x64/spellchecker/* node_modules/@felixrieseberg/spellchecker/build/Release/
|
||||
cp bin/deps/win-x64/keyboard-layout-manager.node node_modules/keyboard-layout/build/Release/
|
||||
|
||||
./node_modules/.bin/electron-packager . --asar --out=dist --executable-name=trilium --platform=win32 --arch=x64 --overwrite --icon=images/app-icons/win/icon.ico
|
||||
|
||||
|
|
BIN
bin/deps/win-x64/keyboard-layout-manager.node
Executable file
BIN
bin/deps/win-x64/keyboard-layout-manager.node
Executable file
Binary file not shown.
4309
package-lock.json
generated
4309
package-lock.json
generated
File diff suppressed because it is too large
Load diff
10
package.json
10
package.json
|
@ -34,7 +34,7 @@
|
|||
"electron-debug": "3.0.1",
|
||||
"electron-dl": "1.14.0",
|
||||
"electron-find": "1.0.6",
|
||||
"electron-spellchecker": "^2.2.0",
|
||||
"electron-spellchecker": "2.2.0",
|
||||
"electron-window-state": "5.0.3",
|
||||
"express": "4.17.1",
|
||||
"express-session": "1.16.2",
|
||||
|
@ -43,8 +43,8 @@
|
|||
"helmet": "3.21.1",
|
||||
"html": "1.0.0",
|
||||
"html2plaintext": "2.1.2",
|
||||
"http-proxy-agent": "^2.1.0",
|
||||
"https-proxy-agent": "^2.2.2",
|
||||
"http-proxy-agent": "2.1.0",
|
||||
"https-proxy-agent": "3.0.0",
|
||||
"image-type": "4.1.0",
|
||||
"imagemin": "7.0.0",
|
||||
"imagemin-giflossy": "5.1.10",
|
||||
|
@ -70,7 +70,7 @@
|
|||
"simple-node-logger": "18.12.23",
|
||||
"sqlite": "3.0.3",
|
||||
"sqlite3": "4.1.0",
|
||||
"string-similarity": "^3.0.0",
|
||||
"string-similarity": "3.0.0",
|
||||
"tar-stream": "2.1.0",
|
||||
"turndown": "5.0.3",
|
||||
"turndown-plugin-gfm": "1.0.2",
|
||||
|
@ -85,7 +85,7 @@
|
|||
"electron-installer-debian": "2.0.1",
|
||||
"electron-packager": "14.0.6",
|
||||
"electron-rebuild": "1.8.6",
|
||||
"jsdoc": "^3.6.3",
|
||||
"jsdoc": "3.6.3",
|
||||
"lorem-ipsum": "2.0.3",
|
||||
"xo": "0.25.3"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue