Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit f07a660

Browse files
committed
ci: Patch package.json main
1 parent b2f688a commit f07a660

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/copy-trilium.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,11 @@ for f in 'package.json' 'package-lock.json' 'README.md' 'LICENSE' 'config-sample
3535
cp "$f" "$DIR"/
3636
done
3737

38+
# Patch package.json main
39+
sed -i 's/.\/dist\/electron.js/electron.js/g' "$DIR/package.json"
40+
3841
script_dir=$(realpath $(dirname $0))
39-
cp -Rv "$script_dir/../build/src" "$DIR"
42+
cp -R "$script_dir/../build/src" "$DIR"
4043
cp "$script_dir/../build/electron.js" "$DIR"
4144

4245
# run in subshell (so we return to original dir)

0 commit comments

Comments
 (0)