mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +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>
41 lines
826 B
Bash
Executable file
41 lines
826 B
Bash
Executable file
#!/bin/bash
|
|
set -x -e
|
|
IOS="ios"
|
|
ANDROID="android"
|
|
MACOS="macos"
|
|
LINUX="linux"
|
|
|
|
PLATFORMS=($IOS $ANDROID $MACOS $LINUX)
|
|
PLATFORM=$1
|
|
|
|
if ! [[ " ${PLATFORMS[*]} " =~ " ${PLATFORM} " ]]; then
|
|
echo "specify platform: ./configure_cake_wallet.sh ios|android|macos|linux"
|
|
exit 1
|
|
fi
|
|
|
|
if [ "$PLATFORM" == "$IOS" ]; then
|
|
echo "Configuring for iOS"
|
|
cd scripts/ios
|
|
fi
|
|
|
|
if [ "$PLATFORM" == "$MACOS" ]; then
|
|
echo "Configuring for macOS"
|
|
cd scripts/macos
|
|
fi
|
|
|
|
if [ "$PLATFORM" == "$ANDROID" ]; then
|
|
echo "Configuring for Android"
|
|
cd scripts/android
|
|
fi
|
|
|
|
if [ "$PLATFORM" == "$LINUX" ]; then
|
|
echo "Configuring for linux"
|
|
cd scripts/linux
|
|
fi
|
|
|
|
source ./app_env.sh cakewallet
|
|
./app_config.sh
|
|
cd ../.. && flutter pub get
|
|
dart run tool/generate_localization.dart
|
|
#./model_generator.sh
|
|
#cd macos && pod install
|