diff --git a/scripts/prepare_moneroc.sh b/scripts/prepare_moneroc.sh index 2d7b06f0c..16c68dd8f 100755 --- a/scripts/prepare_moneroc.sh +++ b/scripts/prepare_moneroc.sh @@ -18,9 +18,17 @@ fi git fetch -a git checkout bc8d1a0b75b97156d71579581b4cdfe58c777ed2 git reset --hard -git submodule update --init --force --recursive -for coin in monero wownero zano; +# Hash Wallet: monero_c bundles monero, wownero, AND zano as sibling +# submodules. Upstream did `git submodule update --init --recursive` which +# pulled ALL three (and their deep transitive submodules — zano alone drags +# down a ~100MB Qt UI tree we don't need). Init only the coins we ship, +# shallow clones, in parallel. +git submodule deinit -f zano 2>/dev/null || true +rm -rf zano +git submodule update --init --recursive --depth 1 --jobs 8 monero wownero + +for coin in monero wownero; do if [[ ! -f "$coin/.patch-applied" ]]; then