mirror of https://github.com/BTCPrivate/copay.git
fix generator script
This commit is contained in:
parent
bca35f8139
commit
cb54a09b5b
|
@ -2,9 +2,12 @@
|
||||||
|
|
||||||
#Description: A simple script to compile and copy only the needed files for the web app.
|
#Description: A simple script to compile and copy only the needed files for the web app.
|
||||||
|
|
||||||
|
# Moving to root path
|
||||||
|
cd ../
|
||||||
|
|
||||||
# Configs
|
# Configs
|
||||||
APPDIR="webapp"
|
APPDIR="./webapp"
|
||||||
CHROMEDIR="chrome-extension"
|
CHROMEDIR="./chrome-extension"
|
||||||
|
|
||||||
LIBDIR="$APPDIR/lib"
|
LIBDIR="$APPDIR/lib"
|
||||||
DOWNLOADDIR="$APPDIR/download"
|
DOWNLOADDIR="$APPDIR/download"
|
||||||
|
@ -57,5 +60,6 @@ zip -r $CHROMEZIPFILE $CHROMEDIR
|
||||||
mkdir -p $CHROMEDOWNLOADDIR
|
mkdir -p $CHROMEDOWNLOADDIR
|
||||||
mv $ZIPFILE $DOWNLOADDIR
|
mv $ZIPFILE $DOWNLOADDIR
|
||||||
mv $CHROMEZIPFILE $CHROMEDOWNLOADDIR
|
mv $CHROMEZIPFILE $CHROMEDOWNLOADDIR
|
||||||
|
cp index-download-chrome.html $CHROMEDOWNLOADDIR/index.html
|
||||||
|
|
||||||
echo -e "${OpenColor}${Yellow}\nAwesome! Now you have the webapp in ./webapp and the chrome extension files in ./webapp/download/.${CloseColor}"
|
echo -e "${OpenColor}${Yellow}\nAwesome! Now you have the webapp in ./webapp and the chrome extension files in ./webapp/download/.${CloseColor}"
|
||||||
|
|
Loading…
Reference in New Issue