cake_wallet/scripts/prepare_moneroc.sh
cyan df6ea551aa
Some checks are pending
Cache Dependencies / test (push) Waiting to run
CW-848-amount-0-fee-error-fix-in-monero (#1866)
* update monero_c hash

* update monero_c hash

* update monero_c hash

* update monero_c hash

* update monero_c hash
2024-12-12 23:32:05 +02: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 af5277f96073917185864d3596e82b67bee54e78
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".