Skip to content

Build your personal knowledge base with Trilium Notes

build(build-server): also delete electron map files

Panagiotis Papadopoulosd8ad018819f7
diff --git a/bin/build-server.sh b/bin/build-server.sh
index f85acf2a70..a18090fb00 100755
--- a/bin/build-server.sh
+++ b/bin/build-server.sh
@@ -41,7 +41,7 @@ cd ..
rm -r $BUILD_DIR/node/lib/node_modules/npm \
$BUILD_DIR/node/include/node \
$BUILD_DIR/node_modules/electron* \
- $BUILD_DIR/electron*.js
+ $BUILD_DIR/electron*.{js,map}
printf "#!/bin/sh\n./node/bin/node src/main" > $BUILD_DIR/trilium.sh
chmod 755 $BUILD_DIR/trilium.sh