mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
cbc0c3afd6
* fix mobx no element error * fix mobx issue * Remove unused code * Enhance error handling for monero sync failure case * Separate litecoin mnemonic exception from bitcoin * - Enable onramper for polygon - Add Kaspa validation * Set null as the default length of address validation * Modify EVM fee text [skip ci] * Add seed length option to polygon * Add digibyte * Update configure_cake_wallet.sh and fix conflicts * Pin bottom section * Fix Solana missing isTestnet param
36 lines
1.6 KiB
Bash
Executable file
36 lines
1.6 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_evm && 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_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_solana && flutter pub get && flutter packages pub run build_runner build --delete-conflicting-outputs && cd ..
|
|
cd cw_ethereum && flutter pub get && cd ..
|
|
cd cw_polygon && flutter pub get && cd ..
|
|
flutter packages pub run build_runner build --delete-conflicting-outputs
|