mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-10-31 09:27:40 +00:00
efbb1f1951
No .dart_tool/package_config.json file found, please run "pub get". This seems to fix this
25 lines
658 B
Bash
Executable file
25 lines
658 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ -z "$APP_ANDROID_TYPE" ]; then
|
|
echo "Please set APP_ANDROID_TYPE"
|
|
exit 1
|
|
fi
|
|
|
|
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
|
|
./app_icon.sh
|
|
|
|
CONFIG_ARGS=""
|
|
|
|
case $APP_ANDROID_TYPE in
|
|
$MONERO_COM)
|
|
CONFIG_ARGS="--monero"
|
|
;;
|
|
$CAKEWALLET)
|
|
CONFIG_ARGS="--monero --bitcoin"
|
|
;;
|
|
esac
|
|
|
|
cd ../..
|
|
flutter pub get
|
|
flutter packages pub run tool/configure.dart $CONFIG_ARGS
|