zwallet/build-scripts/build-win1.sh

16 lines
501 B
Bash
Executable File

echo $1
# Download params
mkdir /d/.zcash-params
curl https://download.z.cash/downloads/sapling-output.params --output /d/.zcash-params/sapling-output.params
curl https://download.z.cash/downloads/sapling-spend.params --output /d/.zcash-params/sapling-spend.params
export HOME=/d/
git clone -b $1 --depth 1 https://github.com/flutter/flutter.git /d/flutter
flutter doctor -v
# DLL
sed -e 's/rlib/cdylib/' < native/zcash-sync/Cargo.toml >/tmp/out.toml
mv /tmp/out.toml native/zcash-sync/Cargo.toml