diff --git a/ddnspod.bat b/ddnspod.bat new file mode 100644 index 0000000..2e41a8f --- /dev/null +++ b/ddnspod.bat @@ -0,0 +1,16 @@ +@echo off + +SET Program86path=C:\"Program Files (x86)"\Git\bin\bash.exe +SET Program64path=C:\"Program Files"\Git\bin\bash.exe + +if exist %Program86path% ( + start /b %Program86path% ddnspod.sh +) else ( + if exist %Program64path% ( + start /b %Program64path% ddnspod.sh + ) else ( + echo "No git bash found, please install git bash" + ) +) + +exit 0 \ No newline at end of file