2022-08-26 08:11:35 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2023-09-20 16:19:21 +00:00
|
|
|
set -e
|
|
|
|
|
|
|
|
# libepiccash requires old rust
|
|
|
|
source ../rust_version.sh
|
2023-09-21 01:11:56 +00:00
|
|
|
set_rust_to_1671
|
2023-09-20 16:19:21 +00:00
|
|
|
|
2022-09-01 08:51:06 +00:00
|
|
|
# for arm
|
|
|
|
# flutter-elinux clean
|
|
|
|
# flutter-elinux pub get
|
|
|
|
# flutter-elinux build linux --dart-define="IS_ARM=true"
|
2022-11-11 23:18:46 +00:00
|
|
|
mkdir -p build
|
2024-04-25 22:44:11 +00:00
|
|
|
./build_secure_storage_deps.sh
|
|
|
|
(cd ../../crypto_plugins/flutter_liblelantus/scripts/linux && ./build_all.sh )
|
|
|
|
(cd ../../crypto_plugins/flutter_libepiccash/scripts/linux && ./build_all.sh )
|
|
|
|
(cd ../../crypto_plugins/flutter_libmonero/scripts/linux && ./build_all.sh )
|
2022-08-26 08:11:35 +00:00
|
|
|
|
|
|
|
wait
|
|
|
|
echo "Done building"
|
2023-09-20 16:19:21 +00:00
|
|
|
|
|
|
|
# set rust (back) to a more recent stable release to allow stack wallet to build tor
|
|
|
|
set_rust_to_1720
|
|
|
|
|