mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +00:00
8e7233b5c3
* migrate monero.dart from it's own repository to monero_c * show errors when invalid monero_c library is being used * Delete unused code * Delete unused code * Fix potential bug causing missing Polyseeds and tx-keys; Add Waring * Remove unused wownero-code * bump monero_c commit --------- Co-authored-by: Czarek Nakamoto <cyjan@mrcyjanek.net> Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
31 lines
580 B
Bash
Executable file
31 lines
580 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 rewrite-wip
|
|
cd monero_c
|
|
git checkout bcb328a4956105dc182afd0ce2e48fe263f5f20b
|
|
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".
|