fix(server): entrypoint for standalone server

pull/2077/head
Elian Doran 2025-05-31 13:36:28 +07:00
parent 56b7965c9a
commit 1b5e51b285
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

@ -43,7 +43,7 @@ rm -rf $BUILD_DIR/node/lib/node_modules/{npm,corepack} \
$BUILD_DIR/node_modules/electron* \
$BUILD_DIR/electron*.{js,map}
printf "#!/bin/sh\n./node/bin/node src/main\n" > $BUILD_DIR/trilium.sh
printf "#!/bin/sh\n./node/bin/node main.cjs\n" > $BUILD_DIR/trilium.sh
chmod 755 $BUILD_DIR/trilium.sh
VERSION=`jq -r ".version" package.json`