cake_wallet/scripts/prepare_moneroc.sh
Omar Hatem ff5fbd7946
v4.21.0 Release Candidate (#1795)
* new versions

* minor fix of cache key

* fix cache hit

* - potential improvement for sync status
- update with latest main

* disable thorchain by default [skip ci]

* update monero_c commit hash

* minor fixes
update versions

* remove monero ledger

* increase macos build number [skip ci]
2024-11-16 16:23:54 -06:00

31 lines
575 B
Bash
Executable file

#!/bin/bash
set -x -e
cd "$(dirname "$0")"
if [[ ! -d "monero_c" ]];
then
git clone https://github.com/mrcyjanek/monero_c --branch master
cd monero_c
git checkout d72c15f4339791a7bbdf17e9d827b7b56ca144e4
git reset --hard
git submodule update --init --force --recursive
./apply_patches.sh monero
./apply_patches.sh wownero
else
cd monero_c
fi
if [[ ! -f "monero/.patch-applied" ]];
then
./apply_patches.sh monero
fi
if [[ ! -f "wownero/.patch-applied" ]];
then
./apply_patches.sh wownero
fi
cd ..
echo "monero_c source prepared".