Update Medicat_Installer.bat

This commit is contained in:
Matthew Clark 2022-08-27 02:17:21 -05:00 committed by GitHub
parent 22723994a7
commit f0658e702d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,7 @@ REM IF POWERSHELL CHECK IS GOOD THEN PROMPT FOR LANGUAGE
:lang :lang
curl -O -s http://cdn.medicatusb.com/files/install/bin.bat curl -O -s http://cdn.medicatusb.com/files/install/bin.bat
call bin call bin
del bin.bat
FOR /F "skip=2 tokens=2*" %%a IN ('REG QUERY "HKEY_CURRENT_USER\Control Panel\International" /v "LocaleName"') DO SET "OSLanguage=%%b" FOR /F "skip=2 tokens=2*" %%a IN ('REG QUERY "HKEY_CURRENT_USER\Control Panel\International" /v "LocaleName"') DO SET "OSLanguage=%%b"
set oslang=%OSLanguage:~0,2% set oslang=%OSLanguage:~0,2%
IF "%oslang%"=="en" ( IF "%oslang%"=="en" (