diff --git a/reinstall.sh b/reinstall.sh index 9405026..0a0aece 100644 --- a/reinstall.sh +++ b/reinstall.sh @@ -20,20 +20,25 @@ trap_err() { } usage_and_exit() { + if is_in_windows; then + reinstall____=' reinstall.bat' + else + reinstall____='./reinstall.sh' + fi cat <&2 for i in $(seq 5); do command wget "$@" && return sleep 1