diff --git a/Requirements/checkforupdates.bat b/Requirements/checkforupdates.bat new file mode 100644 index 0000000..1b56523 --- /dev/null +++ b/Requirements/checkforupdates.bat @@ -0,0 +1,20 @@ +curl.exe -s -o "sc.txt" https://api.github.com/repos/mitchv2020/questtoolbox/releases +findstr "tag_name" sc.txt > list_of_ver.txt +fc list_of_ver.txt list_of_ver_fromdate.txt > nul +if errorlevel 1 goto matchFail + +:next +goto continueSetup +pause + +:matchFail +echo There is a new version of QuestToolBox available. +echo Do you want to update? (This will be automatic in the future) + +::options +cmdMenuSel f870 "Yes (Opens default browser)" "No" +if "%errorlevel%"=="1" ( + start https://github.com/mitchv2020/QuestToolbox/releases + exit +) +if "%errorlevel%"=="2" goto MainMenu \ No newline at end of file diff --git a/Requirements/curl.exe b/Requirements/curl.exe new file mode 100644 index 0000000..ee429f0 Binary files /dev/null and b/Requirements/curl.exe differ diff --git a/Requirements/list_of_ver_fromdate.txt b/Requirements/list_of_ver_fromdate.txt new file mode 100644 index 0000000..757e1ca --- /dev/null +++ b/Requirements/list_of_ver_fromdate.txt @@ -0,0 +1,31 @@ + "tag_name": "v1.4.9", + "tag_name": "v1.4.8", + "tag_name": "v1.4.7", + "tag_name": "v1.4.6", + "tag_name": "v1.4.5", + "tag_name": "v1.4.4", + "tag_name": "v1.4.3fix", + "tag_name": "v1.4.3", + "tag_name": "v1.4.2", + "tag_name": "v1.4.1", + "tag_name": "v1.4.0", + "tag_name": "v1.3.9", + "tag_name": "v1.3.8", + "tag_name": "v1.3.7", + "tag_name": "v1.3.6", + "tag_name": "v1.3.5", + "tag_name": "v1.3.4", + "tag_name": "v1.3.3", + "tag_name": "v1.3.2", + "tag_name": "v1.3.1", + "tag_name": "v1.3.0", + "tag_name": "v1.2.9", + "tag_name": "v1.2.8", + "tag_name": "v1.2.7", + "tag_name": "v1.2.6", + "tag_name": "v1.2.5", + "tag_name": "v1.2.4", + "tag_name": "v1.2.3", + "tag_name": "v1.2.2", + "tag_name": "v1.2.1", + "tag_name": "v1.2",