diff --git a/bin/build-server.sh b/bin/build-server.sh index 91357675b..d0ac558bb 100755 --- a/bin/build-server.sh +++ b/bin/build-server.sh @@ -30,11 +30,11 @@ rm -r ./node_modules/sqlite3/lib/binding/* cp -r ../../bin/deps/linux-x64/sqlite/node* ./node_modules/sqlite3/lib/binding/ -printf "#/bin/sh\n./node/bin/node src/www" > trilium.sh +printf "#!/bin/sh\n./node/bin/node src/www" > trilium.sh chmod 755 trilium.sh cd .. VERSION=`jq -r ".version" ../package.json` -tar cJf trilium-linux-x64-server-${VERSION}.tar.xz trilium-linux-x64-server \ No newline at end of file +tar cJf trilium-linux-x64-server-${VERSION}.tar.xz trilium-linux-x64-server