2022-01-11 18:20:44 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
MONERO_COM=monero.com
|
|
|
|
CAKEWALLET=cakewallet
|
2022-03-30 15:57:04 +00:00
|
|
|
HAVEN=haven
|
2022-01-11 18:20:44 +00:00
|
|
|
CONFIG_ARGS=""
|
|
|
|
|
|
|
|
case $APP_ANDROID_TYPE in
|
|
|
|
$MONERO_COM)
|
|
|
|
CONFIG_ARGS="--monero"
|
|
|
|
;;
|
|
|
|
$CAKEWALLET)
|
2024-05-02 20:47:20 +00:00
|
|
|
CONFIG_ARGS="--monero --bitcoin --haven --ethereum --polygon --nano --bitcoinCash --solana" # TODO: fix and add back --haven
|
2022-03-30 15:57:04 +00:00
|
|
|
;;
|
|
|
|
$HAVEN)
|
|
|
|
CONFIG_ARGS="--haven"
|
2022-01-11 18:20:44 +00:00
|
|
|
;;
|
|
|
|
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
|