mirror of
https://github.com/zadam/trilium.git
synced 2026-01-03 13:14:24 +01:00
build(copy-trilium): use "|" as sed separator
allows us to avoid having to escape "/"
This commit is contained in:
parent
1ae5c43010
commit
9bd31698e1
@ -16,7 +16,7 @@ npm run build:prepare-dist
|
||||
echo Build finished
|
||||
|
||||
# Patch package.json main
|
||||
sed -i 's/.\/dist\/electron-main.js/electron-main.js/g' "$BUILD_DIR/package.json"
|
||||
sed -i 's|./dist/electron-main.js|electron-main.js|g' "$BUILD_DIR/package.json"
|
||||
|
||||
# run in subshell (so we return to original dir)
|
||||
(cd $BUILD_DIR && npm ci --omit=dev)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user