mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
fe2e26f146
* fixes * refactors * fixes * more fixes * fixes for monero.com * update confirmed balance to receivable balance * fix balance display bug * remove print statements * prevent unnecessary writes * review fixes * forgot to add pubspec changes * fix * fix sync status desyncing on rpc fail * fix * update translations + txDetails fixes * squash balance bug * add source address on tx info * fix
34 lines
1.5 KiB
Bash
Executable file
34 lines
1.5 KiB
Bash
Executable file
IOS="ios"
|
|
ANDROID="android"
|
|
|
|
PLATFORMS=($IOS $ANDROID)
|
|
PLATFORM=$1
|
|
|
|
if ! [[ " ${PLATFORMS[*]} " =~ " ${PLATFORM} " ]]; then
|
|
echo "specify platform: ./configure_cake_wallet.sh ios|android"
|
|
exit 1
|
|
fi
|
|
|
|
if [ "$PLATFORM" == "$IOS" ]; then
|
|
echo "Configuring for iOS"
|
|
cd scripts/ios
|
|
fi
|
|
|
|
if [ "$PLATFORM" == "$ANDROID" ]; then
|
|
echo "Configuring for Android"
|
|
cd scripts/android
|
|
fi
|
|
|
|
source ./app_env.sh cakewallet
|
|
./app_config.sh
|
|
cd ../.. && flutter pub get
|
|
flutter packages pub run tool/generate_localization.dart
|
|
cd cw_core && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
|
cd cw_monero && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
|
cd cw_bitcoin && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
|
cd cw_haven && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
|
cd cw_ethereum && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
|
cd cw_nano && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
|
cd cw_bitcoin_cash && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
|
cd cw_polygon && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
|
flutter packages pub run build_runner build --delete-conflicting-outputs
|