mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-06 12:59:55 -06:00
build: Fix Node version incompatibility
This commit is contained in:
@@ -41,6 +41,7 @@ cp "$script_dir/../build/electron.js" "$DIR"
|
||||
|
||||
# run in subshell (so we return to original dir)
|
||||
(cd $DIR && npm install --only=prod)
|
||||
(cd $DIR && npm run switch-electron)
|
||||
|
||||
if [[ -d "$DIR"/node_modules ]]; then
|
||||
# cleanup of useless files in dependencies
|
||||
|
||||
Reference in New Issue
Block a user