Skip to content

Commit

Permalink
Added a "Check for update" at boot
Browse files Browse the repository at this point in the history
  • Loading branch information
NikonUK authored Dec 28, 2021
1 parent b60b44c commit 9342da7
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions QuestToolbox.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,28 @@
:: Developed By:
:: mitchv2020 and lordnikon

set version=v1.4.8
set version=v1.4.9

:::::::::::::::::::::
:::: FILE CHECKS ::::
:::::::::::::::::::::
if not exist ".\Requirements" goto noRequirements

if not exist ".\Requirements\curl.exe" (
set missingFile=curl.exe
goto missingFile
)

if not exist ".\Requirements\checkforupdates.bat" (
set missingFile=checkforupdates.bat
goto missingFile
)

if not exist ".\Requirements\list_of_ver_fromdate.txt" (
set missingFile=list_of_ver_fromdate.txt
goto missingFile
)

if not exist ".\Requirements\cmdmenusel.exe" (
set missingFile=cmdmenusel.exe
goto missingFile
Expand Down Expand Up @@ -89,14 +104,13 @@ if not exist ".\Requirements\swscale-5.dll" (
goto missingFile
)

:::::::::::::::::::::
:::::::::::::::::::::
:::::::::::::::::::::

:continueSetup
:: Sets the window size
mode con: cols=72 lines=20
cd Requirements
goto MainMenu
mode con: cols=72 lines=21

:: Checks for updates
cd requirements
call checkforupdates.bat

:MainMenu
cls
Expand Down

0 comments on commit 9342da7

Please sign in to comment.