From 0f11eb9e98dc661b4d185c9204d3ea0d7c181332 Mon Sep 17 00:00:00 2001 From: azivner Date: Tue, 7 Nov 2017 20:32:26 -0500 Subject: [PATCH] fixed electron build for windows --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index fdffd3339..eb837c2bc 100755 --- a/build.sh +++ b/build.sh @@ -6,4 +6,6 @@ rm -r dist/* ./node_modules/.bin/electron-packager . --out=dist --platform=linux,win32 --overwrite -#./node_modules/.bin/electron-installer-debian --src dist/trilium-linux-x64/ --dest dist/installers/ --arch amd64 \ No newline at end of file +cp -r ../trilium-node-bindings/* node_modules/sqlite3/lib/binding/ + +tar cfJ dist/win.tar.xz dist/trilium-win32-x64 \ No newline at end of file