Skip to content

Build your personal knowledge base with Trilium Notes

build(copy-trilium): remove now unnecessary package.json patching

Panagiotis Papadopoulosbee7793d32a5
diff --git a/bin/copy-trilium.sh b/bin/copy-trilium.sh
index 515c3ccc62..6291380482 100755
--- a/bin/copy-trilium.sh
+++ b/bin/copy-trilium.sh
@@ -10,9 +10,6 @@ if ! [[ $(which npm) ]]; then
exit 1
fi
-# Patch package.json main
-sed -i 's|./dist/electron-main.js|electron-main.js|g' "$BUILD_DIR/package.json"
-
if [[ -d "$BUILD_DIR"/node_modules ]]; then
# cleanup of useless files in dependencies
for d in 'image-q/demo' \