mirror of
https://github.com/zadam/trilium.git
synced 2025-10-04 20:47:40 +08:00
parent
a8d72c46e4
commit
c29f1af48f
1 changed files with 2 additions and 2 deletions
|
@ -5,7 +5,7 @@ if [[ $# -eq 0 ]] ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
npm run webpack
|
n exec 12 npm run webpack
|
||||||
|
|
||||||
DIR=$1
|
DIR=$1
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ cp -r electron.js $DIR/
|
||||||
cp webpack-* $DIR/
|
cp webpack-* $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 && n exec 12 npm install --only=prod)
|
||||||
|
|
||||||
# cleanup of useless files in dependencies
|
# cleanup of useless files in dependencies
|
||||||
rm -r $DIR/node_modules/image-q/demo
|
rm -r $DIR/node_modules/image-q/demo
|
||||||
|
|
Loading…
Add table
Reference in a new issue