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