mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-30 19:52:28 +08:00
build(copy-trilium): remove now unnecessary package.json patching
this is not needed anymore since commit 6b9d8f0d677763f29d29abd0816b1a5d40e858c8
This commit is contained in:
parent
8feb201d3d
commit
bee7793d32
@ -10,9 +10,6 @@ if ! [[ $(which npm) ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
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
|
if [[ -d "$BUILD_DIR"/node_modules ]]; then
|
||||||
# cleanup of useless files in dependencies
|
# cleanup of useless files in dependencies
|
||||||
for d in 'image-q/demo' \
|
for d in 'image-q/demo' \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user