zwallet/configure.sh

32 lines
707 B
Bash
Raw Normal View History

2021-08-13 20:44:53 -07:00
export COIN=$1
case $COIN in
ycash)
export APP_TITLE=YWallet
export APP_NAME=ywallet
export FEATURE=ycash
;;
2021-08-25 04:41:47 -07:00
zcashtest)
export APP_TITLE=ZWalletTest
export APP_NAME=zwallettest
export FEATURE=zcashtest
;;
2021-08-13 20:44:53 -07:00
zcash)
export APP_TITLE=ZWallet
export APP_NAME=zwallet
2021-08-25 04:41:47 -07:00
export FEATURE=zcash
2021-08-13 20:44:53 -07:00
;;
esac
cp assets/$COIN.png assets/icon.png
cp lib/coin/$COIN.dart lib/coin/coindef.dart
2021-08-25 04:41:47 -07:00
cp native/zcash-sync/src/coindef/$COIN.rs native/zcash-sync/src/coin.rs
2021-08-13 20:44:53 -07:00
2021-08-17 08:43:49 -07:00
mo pubspec.yaml.tpl > pubspec.yaml
2021-08-13 20:44:53 -07:00
flutter pub get
flutter pub run change_app_package_name:main me.hanh.$APP_NAME
flutter pub run flutter_launcher_icons:main
flutter pub run flutter_launcher_name:main
flutter pub run build_runner build