cake_wallet/scripts/linux/app_env.sh
Omar Hatem d1c45a5326
4.22.1 RC (#1932)
* 4.22.1 RC

* minor cleanup [skip ci]

* Fix frozen balance not displaying at startup issue

* Monero balance tx display issue (#1934)

* minor cleanup [skip ci]

* Fix frozen balance not displaying at startup issue

* fix transactions not updating (stupid mobx reactions :3)

* [skip ci]
2025-01-05 03:11:44 +02:00

35 lines
650 B
Bash
Executable file

#!/bin/sh
APP_LINUX_NAME=""
APP_LINUX_VERSION=""
APP_LINUX_BUILD_VERSION=""
CAKEWALLET="cakewallet"
TYPES=($CAKEWALLET)
APP_LINUX_TYPE=$CAKEWALLET
if [ -n "$1" ]; then
APP_LINUX_TYPE=$1
fi
CAKEWALLET_NAME="Cake Wallet"
CAKEWALLET_VERSION="1.12.1"
CAKEWALLET_BUILD_NUMBER=42
if ! [[ " ${TYPES[*]} " =~ " ${APP_LINUX_TYPE} " ]]; then
echo "Wrong app type."
exit 1
fi
case $APP_LINUX_TYPE in
$CAKEWALLET)
APP_LINUX_NAME=$CAKEWALLET_NAME
APP_LINUX_VERSION=$CAKEWALLET_VERSION
APP_LINUX_BUILD_NUMBER=$CAKEWALLET_BUILD_NUMBER;;
esac
export APP_LINUX_TYPE
export APP_LINUX_NAME
export APP_LINUX_VERSION
export APP_LINUX_BUILD_NUMBER