cake_wallet/scripts/android/pubspec_gen.sh
Adegoke David fbecc5c994
fix: Tron Timeout Issue (#1448)
* fix: Tron timeout issue

* fix: Revert

* fix: Tron transaction expiry error
2024-05-15 02:54:39 +03:00

26 lines
No EOL
629 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 --haven --ethereum --polygon --nano --bitcoinCash --solana --tron"
;;
$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