mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +01:00 
			
		
		
		
	fix(server): entrypoint for standalone server
This commit is contained in:
		| @@ -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` | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user