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