cake_wallet/scripts/macos/app_env.sh
Omar Hatem c7deeaea9b
New versions (#1312)
* New versions
Fix issues with Monero.com

* Add sending for Solana tokens exchanges

* Add default keyword for P2WPKH [skip ci]

* chore: Switch solana commitment to confirmed to reduced blockhash expiration (#1313)

* Modify test workflow to send arm64-v8a build only

* Fix workflow build path

* Remove unnecessary reverse of txId

* Show case sensitive evm wallet address

* Revert default Cake Theme
add custom package id for test builds

* Fix workflow script

* Fix workflow

* hash branch name

* hash branch name

* Update versions

* Add user image to Nostr
Add fetching address from text for tokens

* Fix test app package id

* fix: Solana message improvement (#1316)

---------

Co-authored-by: Adegoke David <64401859+Blazebrain@users.noreply.github.com>
2024-03-04 19:32:10 +02:00

50 lines
1.1 KiB
Bash
Executable file

#!/bin/sh
APP_MACOS_NAME=""
APP_MACOS_VERSION=""
APP_MACOS_BUILD_VERSION=""
APP_MACOS_BUNDLE_ID=""
MONERO_COM="monero.com"
CAKEWALLET="cakewallet"
TYPES=($MONERO_COM $CAKEWALLET)
APP_MACOS_TYPE=$1
if [ -n "$1" ]; then
APP_MACOS_TYPE=$1
fi
MONERO_COM_NAME="Monero.com"
MONERO_COM_VERSION="1.1.0"
MONERO_COM_BUILD_NUMBER=7
MONERO_COM_BUNDLE_ID="com.cakewallet.monero"
CAKEWALLET_NAME="Cake Wallet"
CAKEWALLET_VERSION="1.7.0"
CAKEWALLET_BUILD_NUMBER=55
CAKEWALLET_BUNDLE_ID="com.fotolockr.cakewallet"
if ! [[ " ${TYPES[*]} " =~ " ${APP_MACOS_TYPE} " ]]; then
echo "Wrong app type."
exit 1
fi
case $APP_MACOS_TYPE in
$MONERO_COM)
APP_MACOS_NAME=$MONERO_COM_NAME
APP_MACOS_VERSION=$MONERO_COM_VERSION
APP_MACOS_BUILD_NUMBER=$MONERO_COM_BUILD_NUMBER
APP_MACOS_BUNDLE_ID=$MONERO_COM_BUNDLE_ID;;
$CAKEWALLET)
APP_MACOS_NAME=$CAKEWALLET_NAME
APP_MACOS_VERSION=$CAKEWALLET_VERSION
APP_MACOS_BUILD_NUMBER=$CAKEWALLET_BUILD_NUMBER
APP_MACOS_BUNDLE_ID=$CAKEWALLET_BUNDLE_ID;;
esac
export APP_MACOS_TYPE
export APP_MACOS_NAME
export APP_MACOS_VERSION
export APP_MACOS_BUILD_NUMBER
export APP_MACOS_BUNDLE_ID