Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
build fixes
zadam2be1aca2f3a5
diff --git a/bin/build-mac-x64.sh b/bin/build-mac-x64.shindex d7e9f3dbb1..950ac086c2 100755--- a/bin/build-mac-x64.sh+++ b/bin/build-mac-x64.sh@@ -14,12 +14,14 @@ rm -r $SRC_DIR/node_modules/mozjpeg/vendor/*rm -r $SRC_DIR/node_modules/pngquant-bin/vendor/*rm -r $SRC_DIR/node_modules/giflossy/vendor/*rm -r $SRC_DIR/node_modules/@felixrieseberg/spellchecker/build/Release/*+rm -r $SRC_DIR/node_modules/keyboard-layout/build/Release/*cp -r bin/deps/mac-x64/sqlite/* $SRC_DIR/node_modules/sqlite3/lib/binding/cp bin/deps/mac-x64/image/cjpeg $SRC_DIR/node_modules/mozjpeg/vendor/cp bin/deps/mac-x64/image/pngquant $SRC_DIR/node_modules/pngquant-bin/vendor/cp bin/deps/mac-x64/image/gifsicle $SRC_DIR/node_modules/giflossy/vendor/cp bin/deps/mac-x64/spellchecker/* $SRC_DIR/node_modules/@felixrieseberg/spellchecker/build/Release/+cp bin/deps/mac-x64/keyboard-layout-manager.node $SRC_DIR/node_modules/keyboard-layout/build/Release/./node_modules/.bin/electron-packager $SRC_DIR --asar --out=dist --executable-name=trilium --platform=darwin --arch=x64 --overwrite --icon=images/app-icons/mac/icon.icnsdiff --git a/bin/build-server.sh b/bin/build-server.shindex e327ba30f6..d180f05285 100755--- a/bin/build-server.sh+++ b/bin/build-server.sh@@ -1,6 +1,6 @@#!/usr/bin/env bash-PKG_DIR=dist/trilium-linux-x64-server-src+PKG_DIR=dist/trilium-linux-x64-serverNODE_VERSION=12.12.0if [ "$1" != "DONTCOPY" ]@@ -29,4 +29,4 @@ VERSION=`jq -r ".version" package.json`cd dist-tar cJf trilium-linux-x64-server-${VERSION}.tar.xz trilium-linux-x64-server-src+tar cJf trilium-linux-x64-server-${VERSION}.tar.xz trilium-linux-x64-serverdiff --git a/bin/build.sh b/bin/build.shindex fd78d05709..1842e541fc 100755--- a/bin/build.sh+++ b/bin/build.sh@@ -10,7 +10,7 @@ bin/copy-trilium.sh $SRC_DIR# we'll just copy the same SRC dir to all the builds so we don't have to do npm install in each separatelycp -r $SRC_DIR ./dist/trilium-linux-x64-src-cp -r $SRC_DIR ./dist/trilium-linux-x64-server-src+cp -r $SRC_DIR ./dist/trilium-linux-x64-servercp -r $SRC_DIR ./dist/trilium-windows-x64-srccp -r $SRC_DIR ./dist/trilium-mac-x64-srcdiff --git a/bin/deps/mac-x64/keyboard-layout-manager.node b/bin/deps/mac-x64/keyboard-layout-manager.nodenew file mode 100644index 0000000000..3c2882dcc0Binary files /dev/null and b/bin/deps/mac-x64/keyboard-layout-manager.node differ