mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
build: Fix Node version incompatibility
This commit is contained in:
parent
776d2e7402
commit
9db4e1d7d3
@ -41,6 +41,7 @@ cp "$script_dir/../build/electron.js" "$DIR"
|
|||||||
|
|
||||||
# run in subshell (so we return to original dir)
|
# run in subshell (so we return to original dir)
|
||||||
(cd $DIR && npm install --only=prod)
|
(cd $DIR && npm install --only=prod)
|
||||||
|
(cd $DIR && npm run switch-electron)
|
||||||
|
|
||||||
if [[ -d "$DIR"/node_modules ]]; then
|
if [[ -d "$DIR"/node_modules ]]; then
|
||||||
# cleanup of useless files in dependencies
|
# cleanup of useless files in dependencies
|
||||||
|
Loading…
x
Reference in New Issue
Block a user