|
|
|
@ -34,9 +34,11 @@ rm -rf $BUILD_DIR/dump-db/node_modules
|
|
|
|
|
|
|
|
|
|
|
|
cp bin/tpl/trilium-{portable,no-cert-check,safe-mode}.bat $BUILD_DIR/
|
|
|
|
cp bin/tpl/trilium-{portable,no-cert-check,safe-mode}.bat $BUILD_DIR/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ "$1" != "DONTPACK" ]
|
|
|
|
|
|
|
|
then
|
|
|
|
echo "Zipping windows x64 electron distribution..."
|
|
|
|
echo "Zipping windows x64 electron distribution..."
|
|
|
|
VERSION=`jq -r ".version" package.json`
|
|
|
|
VERSION=`jq -r ".version" package.json`
|
|
|
|
|
|
|
|
|
|
|
|
cd dist
|
|
|
|
cd dist
|
|
|
|
|
|
|
|
|
|
|
|
zip -r9 trilium-windows-x64-${VERSION}.zip trilium-windows-x64
|
|
|
|
zip -r9 trilium-windows-x64-${VERSION}.zip trilium-windows-x64
|
|
|
|
|
|
|
|
fi
|