mirror of
https://github.com/zadam/trilium.git
synced 2024-12-27 01:34:05 +08:00
fix inclusion of share.js
in builds, fixes #2738
This commit is contained in:
parent
316a2aee1a
commit
0cd690d980
1 changed files with 3 additions and 0 deletions
|
@ -44,8 +44,11 @@ find $DIR/node_modules -name demo -exec rm -rf {} \;
|
|||
|
||||
find $DIR/libraries -name "*.map" -type f -delete
|
||||
|
||||
cp $DIR/src/public/app/share.js $DIR/src/public/app-dist/
|
||||
|
||||
rm -rf $DIR/src/public/app
|
||||
|
||||
sed -i -e 's/app\/desktop.js/app-dist\/desktop.js/g' $DIR/src/views/desktop.ejs
|
||||
sed -i -e 's/app\/mobile.js/app-dist\/mobile.js/g' $DIR/src/views/mobile.ejs
|
||||
sed -i -e 's/app\/setup.js/app-dist\/setup.js/g' $DIR/src/views/setup.ejs
|
||||
sed -i -e 's/app\/share.js/app-dist\/share.js/g' $DIR/src/views/share/*.ejs
|
||||
|
|
Loading…
Reference in a new issue