mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-02 12:14:09 +01:00
Update build scripts for android
This commit is contained in:
@@ -7,25 +7,5 @@ fi
|
||||
|
||||
./app_properties.sh
|
||||
./app_icon.sh
|
||||
|
||||
CONFIG_ARGS=""
|
||||
|
||||
case $APP_ANDROID_TYPE in
|
||||
$MONERO_COM)
|
||||
CONFIG_ARGS="--monero"
|
||||
;;
|
||||
$CAKEWALLET)
|
||||
CONFIG_ARGS="--monero --bitcoin"
|
||||
;;
|
||||
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
|
||||
|
||||
sed -i "0,/version:/{s/version:.*/version: ${APP_ANDROID_VERSION}+${APP_ANDROID_BUILD_NUMBER}/}" ./pubspec.yaml
|
||||
sed -i "0,/version:/{s/__APP_PACKAGE__/${APP_ANDROID_PACKAGE}/}" ./android/app/src/main/AndroidManifest.xml
|
||||
./pubspec_gen.sh
|
||||
./inject_app_details.sh
|
||||
Reference in New Issue
Block a user