Skip to content

Build your personal knowledge base with Trilium Notes

mac spellchecker build

zadam9ad521822dee
diff --git a/bin/build-mac-x64.sh b/bin/build-mac-x64.sh
index 86b01cc539..c0e7c55027 100755
--- a/bin/build-mac-x64.sh
+++ b/bin/build-mac-x64.sh
@@ -9,11 +9,13 @@ rm -r node_modules/sqlite3/lib/binding/*
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/*
cp -r bin/deps/mac-x64/sqlite/* node_modules/sqlite3/lib/binding/
cp bin/deps/mac-x64/image/cjpeg node_modules/mozjpeg/vendor/
cp bin/deps/mac-x64/image/pngquant node_modules/pngquant-bin/vendor/
cp bin/deps/mac-x64/image/gifsicle node_modules/giflossy/vendor/
+cp bin/deps/mac-x64/spellchecker/* node_modules/@felixrieseberg/spellchecker/build/Release/
./node_modules/.bin/electron-packager . --asar --out=dist --executable-name=trilium --platform=darwin --arch=x64 --overwrite --icon=images/app-icons/mac/icon.icns
diff --git a/bin/deps/mac-x64/spellchecker/hunspell.a b/bin/deps/mac-x64/spellchecker/hunspell.a
new file mode 100644
index 0000000000..116af7a8be
Binary files /dev/null and b/bin/deps/mac-x64/spellchecker/hunspell.a differ
diff --git a/bin/deps/mac-x64/spellchecker/spellchecker.node b/bin/deps/mac-x64/spellchecker/spellchecker.node
new file mode 100644
index 0000000000..fe11eb3ce9
Binary files /dev/null and b/bin/deps/mac-x64/spellchecker/spellchecker.node differ
diff --git a/src/public/stylesheets/themes.css b/src/public/stylesheets/themes.css
index 0557e8b55e..b769d73625 100644
--- a/src/public/stylesheets/themes.css
+++ b/src/public/stylesheets/themes.css
@@ -183,6 +183,8 @@ body {
/* todo lists */
--ck-color-todo-list-checkmark-border: var(--main-border-color);
+
+ --ck-color-engine-placeholder-text: var(--main-text-color);
}
body {