mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 12:09:43 +00:00
ce4d375abf
* Add exception handler to fiat APIs Increase send card size for coin control Fix Monero.com unspent coins hive box issue minor bug fix * Remove EIP-1559 parameters from Eth transaction Enhance error reporting * Throw error if not enough monero utx outputs are selected * Fix Search text color * Fix Ethereum sending EIP-1559 transactions * Add transaction data to ERC20 transactions * Add input check in single output transactions as well * Fix Node deletion issue Handle user input error in anonpay * Remove exception handler from fiat conversion since it's not working with isolates * Require enough utxo for amount and fees; More insightful Error messages * Add cakewallet to applinks [skip ci] * Add cakewallet app link for iOS [skip ci] * Add applink depending on app scheme variable * Add applink in iOS custom to the app getting built [skip ci] * Handle normal app links without considering them as Payment URIs * Minor fix [skip ci] * Fixate encrypt package version as the recent update they made has some issues [skip ci] --------- Co-authored-by: Konstantin Ullrich <konstantinullrich12@gmail.com>
44 lines
1.4 KiB
Bash
Executable file
44 lines
1.4 KiB
Bash
Executable file
#!/bin/bash
|
|
|
|
MONERO_COM="monero.com"
|
|
CAKEWALLET="cakewallet"
|
|
HAVEN="haven"
|
|
DIR=`pwd`
|
|
|
|
if [ -z "$APP_IOS_TYPE" ]; then
|
|
echo "Please set APP_IOS_TYPE"
|
|
exit 1
|
|
fi
|
|
|
|
cd ../.. # go to root
|
|
cp -rf ./ios/Runner/InfoBase.plist ./ios/Runner/Info.plist
|
|
/usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName ${APP_IOS_NAME}" ./ios/Runner/Info.plist
|
|
/usr/libexec/PlistBuddy -c "Set :CFBundleIdentifier ${APP_IOS_BUNDLE_ID}" ./ios/Runner/Info.plist
|
|
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${APP_IOS_VERSION}" ./ios/Runner/Info.plist
|
|
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${APP_IOS_BUILD_NUMBER}" ./ios/Runner/Info.plist
|
|
|
|
/usr/libexec/PlistBuddy -c "Add :CFBundleURLTypes:1:CFBundleURLName string ${APP_IOS_TYPE}" ./ios/Runner/Info.plist
|
|
/usr/libexec/PlistBuddy -c "Add :CFBundleURLTypes:1:CFBundleURLSchemes array" ./ios/Runner/Info.plist
|
|
/usr/libexec/PlistBuddy -c "Add :CFBundleURLTypes:1:CFBundleURLSchemes: string ${APP_IOS_TYPE}" ./ios/Runner/Info.plist
|
|
|
|
CONFIG_ARGS=""
|
|
|
|
case $APP_IOS_TYPE in
|
|
$MONERO_COM)
|
|
CONFIG_ARGS="--monero"
|
|
;;
|
|
$CAKEWALLET)
|
|
CONFIG_ARGS="--monero --bitcoin --haven --ethereum"
|
|
;;
|
|
$HAVEN)
|
|
CONFIG_ARGS="--haven"
|
|
;;
|
|
esac
|
|
|
|
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 $DIR
|
|
$DIR/app_icon.sh
|