2024-01-11 15:00:41 -08:00
|
|
|
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
|
|
|
|
|
2023-08-04 20:01:49 +03:00
|
|
|
source ./app_env.sh cakewallet
|
|
|
|
./app_config.sh
|
|
|
|
cd ../.. && flutter pub get
|
2023-11-25 01:31:49 +02:00
|
|
|
flutter packages pub run tool/generate_localization.dart
|
2023-08-04 20:01:49 +03:00
|
|
|
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 ..
|
2023-10-04 21:09:07 -04:00
|
|
|
cd cw_nano && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
2023-10-13 01:50:16 +03:00
|
|
|
cd cw_bitcoin_cash && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
2023-12-05 02:35:33 +02:00
|
|
|
cd cw_polygon && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
2023-08-04 20:01:49 +03:00
|
|
|
flutter packages pub run build_runner build --delete-conflicting-outputs
|