Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 1b5e51b

Browse files
committed
fix(server): entrypoint for standalone server
1 parent 56b7965 commit 1b5e51b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/server/scripts/build-server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ rm -rf $BUILD_DIR/node/lib/node_modules/{npm,corepack} \
4343
$BUILD_DIR/node_modules/electron* \
4444
$BUILD_DIR/electron*.{js,map}
4545

46-
printf "#!/bin/sh\n./node/bin/node src/main\n" > $BUILD_DIR/trilium.sh
46+
printf "#!/bin/sh\n./node/bin/node main.cjs\n" > $BUILD_DIR/trilium.sh
4747
chmod 755 $BUILD_DIR/trilium.sh
4848

4949
VERSION=`jq -r ".version" package.json`

0 commit comments

Comments
 (0)