From 26c665594e01562a29946c4c128b260fa433746b Mon Sep 17 00:00:00 2001 From: Duke Date: Sun, 22 Jan 2023 00:03:29 -0500 Subject: [PATCH] Try to make build-sdx.sh work on windoze --- build-sdx.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/build-sdx.sh b/build-sdx.sh index 823ef10..91751bf 100755 --- a/build-sdx.sh +++ b/build-sdx.sh @@ -6,13 +6,17 @@ set -e -if [ -e dragonxd ]; then +# TODO: not ideal, hushd.exe should only be looked for on windoze +if [ -e "dragonxd" ]; then echo "Found dragonxd binary" +elif [ -e "hushd.exe" ]; then + echo "Found hushd.exe binary" else echo "dragonxd could not be found!" echo "Either copy the binary to this dir or make a symlink." echo "This command will create a symlink to it if this repo is in the same directory as your hush3.git: " echo "ln -s ../hush3/src/dragonxd" + echo "For windoze you should copy hushd.exe to this directory" exit 1 fi