Files
hash-wallet/scripts/prepare_moneroc.sh
T
3917e55f46 Revert "Revert "monero: update dependencies"" (#3115)
* Revert "Revert "monero: update dependencies (#3064)" (#3114)"

This reverts commit 2d034091ff.

* bump: moneroc

* fix: macos builds

---------

Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net>
2026-03-25 21:25:59 +01:00

33 lines
686 B
Bash
Executable File

#!/bin/bash
set -x -e
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
else
cd monero_c
fi
# NOTE: Make sure to update monero_c prebuilds link in workflow files
# https://github.com/MrCyjaneK/monero_c/releases/download/v0.18.4.6-RC1/release-bundle.zip
git fetch -a
git checkout bc8d1a0b75b97156d71579581b4cdfe58c777ed2
git reset --hard
git submodule update --init --force --recursive
for coin in monero wownero zano;
do
if [[ ! -f "$coin/.patch-applied" ]];
then
./apply_patches.sh $coin
fi
done
cd ..
echo "monero_c source prepared".