mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
feat: use better embedded Tor (#2453)
* feat: use better embedded Tor * update docs [skip ci] * fix: update torch properly add minimum os version for iOS * fix: use of invalid thread api on iOS * fix: disable use of lzma and zstd system libraries * fix: update torch_dart to work on linux
This commit is contained in:
@@ -7,6 +7,8 @@ fi
|
||||
|
||||
DIR=$(dirname "$0")
|
||||
|
||||
$DIR/build_torch.sh
|
||||
|
||||
case $APP_ANDROID_TYPE in
|
||||
"monero.com") $DIR/build_monero_all.sh ;;
|
||||
"cakewallet") $DIR/build_monero_all.sh
|
||||
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
set -x -e
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
../prepare_torch.sh
|
||||
|
||||
cd ../torch_dart
|
||||
|
||||
./build.sh aarch64-linux-android armv7a-linux-androideabi x86_64-linux-android
|
||||
@@ -7,6 +7,8 @@ fi
|
||||
|
||||
DIR=$(dirname "$0")
|
||||
|
||||
$DIR/build_torch.sh
|
||||
|
||||
case $APP_IOS_TYPE in
|
||||
"monero.com") $DIR/build_monero_all.sh ;;
|
||||
"cakewallet") $DIR/build_monero_all.sh && $DIR/build_mwebd.sh && $DIR/build_decred.sh ;;
|
||||
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
set -x -e
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
../prepare_torch.sh
|
||||
|
||||
cd ../torch_dart
|
||||
|
||||
# Need to build all platforms to get .xcframework
|
||||
./build.sh aarch64-apple-ios-simulator aarch64-apple-ios aarch64-apple-darwin x86_64-apple-darwin
|
||||
@@ -1,3 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
./build_monero_all.sh universal && $DIR/build_decred.sh
|
||||
./build_torch.sh
|
||||
|
||||
./build_monero_all.sh universal && ./build_decred.sh
|
||||
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
set -x -e
|
||||
cd "$(dirname "$0")"
|
||||
exec bash ../ios/build_torch.sh
|
||||
@@ -6,6 +6,7 @@ cd "$(dirname "$0")"
|
||||
|
||||
if [[ ! -d "monero_c/.git" ]];
|
||||
then
|
||||
rm -rf monero_c
|
||||
git clone https://github.com/mrcyjanek/monero_c --branch master monero_c
|
||||
cd monero_c
|
||||
git checkout b576312e4d466569cd03482b61c597b39a9f4dc3
|
||||
|
||||
Executable
+28
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
set -x -e
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
# IMPORTANT: Make sure to update action 'Build Torch` in
|
||||
# - .github/workflows/pr_test_build_android.yml
|
||||
# - .github/workflows/pr_test_build_linux.yml
|
||||
# https://github.com/MrCyjaneK/torch_dart/releases/download/4f987d4-1-ge071fcf-1-gc282f09-1-g4c290aa-1-gabdf653/torch_dart-4f987d4-1-ge071fcf-1-gc282f09-1-g4c290aa-1-gabdf653.tar.gz
|
||||
|
||||
HASH=abdf653fc15b576f2a67597a1f9618345a297f45
|
||||
|
||||
if [[ ! -d "torch_dart/.git" ]];
|
||||
then
|
||||
rm -rf torch_dart
|
||||
git clone https://github.com/mrcyjanek/torch_dart
|
||||
cd torch_dart
|
||||
else
|
||||
cd torch_dart
|
||||
git fetch -a
|
||||
fi
|
||||
|
||||
|
||||
git reset --hard
|
||||
git checkout $HASH
|
||||
git reset --hard
|
||||
|
||||
# recommended to uncomment during development
|
||||
# sed -i.bak 's/go run . -cleanup/#go run . -cleanup/g' build.sh
|
||||
Reference in New Issue
Block a user