Skip to content

Commit

Permalink
new requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
NikonUK authored Dec 28, 2021
1 parent 9342da7 commit 9dfd011
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Requirements/checkforupdates.bat
Original file line number Diff line number Diff line change
@@ -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
Binary file added Requirements/curl.exe
Binary file not shown.
31 changes: 31 additions & 0 deletions Requirements/list_of_ver_fromdate.txt
Original file line number Diff line number Diff line change
@@ -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",

0 comments on commit 9dfd011

Please sign in to comment.