mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 09:47:35 +00:00
c59d39d42d
* update fee rates * periodically update fees * minor enhancements * minor enhancements * some improvements add solana node * handle empty hex as null * minor improvement * fix imports * fix app hanging on splash screen * update app versions temporarily disable sign/verify for hardware wallets
35 lines
649 B
Bash
Executable file
35 lines
649 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.9.4"
|
|
CAKEWALLET_BUILD_NUMBER=31
|
|
|
|
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
|