mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
fix(server): entrypoint for standalone server
This commit is contained in:
parent
56b7965c9a
commit
1b5e51b285
@ -43,7 +43,7 @@ rm -rf $BUILD_DIR/node/lib/node_modules/{npm,corepack} \
|
|||||||
$BUILD_DIR/node_modules/electron* \
|
$BUILD_DIR/node_modules/electron* \
|
||||||
$BUILD_DIR/electron*.{js,map}
|
$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
|
chmod 755 $BUILD_DIR/trilium.sh
|
||||||
|
|
||||||
VERSION=`jq -r ".version" package.json`
|
VERSION=`jq -r ".version" package.json`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user