mirror of
https://github.com/zadam/trilium.git
synced 2025-10-26 07:46:30 +01:00
build(copy-trilium): use "|" as sed separator
allows us to avoid having to escape "/"
This commit is contained in:
committed by
Panagiotis Papadopoulos
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)
|
||||
|
||||
Reference in New Issue
Block a user