mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-23 23:58:48 +00:00
Conflicts: configure_cake_wallet.sh cw_core/lib/amount_converter.dart cw_core/lib/wallet_type.dart cw_monero/lib/monero_wallet.dart lib/view_model/unspent_coins/unspent_coins_list_view_model.dart scripts/android/pubspec_gen.sh scripts/ios/app_config.sh scripts/macos/app_config.sh tool/configure.dart
29 lines
No EOL
769 B
Bash
Executable file
29 lines
No EOL
769 B
Bash
Executable file
#!/bin/bash
|
|
|
|
MONERO_COM=monero.com
|
|
CAKEWALLET=cakewallet
|
|
HAVEN=haven
|
|
CONFIG_ARGS=""
|
|
|
|
case $APP_ANDROID_TYPE in
|
|
$MONERO_COM)
|
|
CONFIG_ARGS="--monero"
|
|
;;
|
|
$CAKEWALLET)
|
|
CONFIG_ARGS="--monero --bitcoin --ethereum --polygon --nano --bitcoinCash --solana --tron --wownero --lightning"
|
|
if [ "$CW_WITH_HAVEN" = true ];then
|
|
CONFIG_ARGS="$CONFIG_ARGS --haven"
|
|
fi
|
|
;;
|
|
$HAVEN)
|
|
CONFIG_ARGS="--haven"
|
|
;;
|
|
esac
|
|
|
|
cd ../..
|
|
cp -rf pubspec_description.yaml pubspec.yaml
|
|
flutter pub get
|
|
flutter pub run tool/generate_pubspec.dart
|
|
flutter pub get
|
|
flutter packages pub run tool/configure.dart $CONFIG_ARGS
|
|
cd scripts/android |