mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
505ea26533
* update flutter to 3.24.3 * bump flutter to 3.24.4, fix all android issues (i hope) * update uni_links path * update sensitive_clipboard * update dependencies * update fast_scanner * update the ref * Update how_to_add_new_wallet_type.md [skip ci] * Update how_to_add_new_wallet_type.md [skip ci] * Update how_to_add_new_wallet_type.md [skip ci] * Update how_to_add_new_wallet_type.md [skip ci] --------- Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
25 lines
718 B
Bash
Executable file
25 lines
718 B
Bash
Executable file
#!/bin/bash
|
|
source "$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/universal_sed.sh"
|
|
CAKEWALLET="cakewallet"
|
|
DIR=`pwd`
|
|
|
|
if [ -z "$APP_LINUX_TYPE" ]; then
|
|
echo "Please set APP_LINUX_TYPE"
|
|
exit 1
|
|
fi
|
|
|
|
cd ../.. # go to root
|
|
CONFIG_ARGS=""
|
|
|
|
case $APP_LINUX_TYPE in
|
|
$CAKEWALLET)
|
|
CONFIG_ARGS="--monero --bitcoin --ethereum --polygon --nano --bitcoinCash --solana --tron --wownero --excludeFlutterSecureStorage";;
|
|
esac
|
|
|
|
cp -rf pubspec_description.yaml pubspec.yaml
|
|
flutter pub get
|
|
dart run tool/generate_pubspec.dart
|
|
flutter pub get
|
|
dart run tool/configure.dart $CONFIG_ARGS
|
|
universal_sed '0,/version: 0.0.0/s//version: '"${APP_LINUX_VERSION}"'+'"${APP_LINUX_BUILD_NUMBER}"'/' pubspec.yaml
|
|
cd $DIR
|