mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Due to reown changing their license in version 1.2.0 we switched to use last open source release of reown with all fixes for flutter 3.32.0 and 16kb page size requirements. chore: drop dependency overrides for reown ci: switch prebuilds to use github releases instead of CDN fix: reown socket errors in onDone and onError fix: remove flutter_secure_storage on linux (closes #2577, #2561)
26 lines
732 B
Bash
Executable File
26 lines
732 B
Bash
Executable File
#!/bin/bash
|
|
source "$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)/functions.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 --dogecoin --base --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
|