1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-06-26 17:10:38 +00:00

Fix errorlevel check

Since errorlevel wasn't enclosed in percents, it wasn't catching the 64 bit choice. Added percents around it and now it is allowing a 64 bit choice.
This commit is contained in:
Zachary Spriggs 2022-09-13 17:31:02 -04:00 committed by GitHub
parent 4c8dbec69c
commit bd5e08e0a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,7 +15,7 @@ goto downloadfinished
:download64choice
choice /C 12 /M "Do you prefer to download 1)32-bit QB64-PE or 2)64-bit QB64-PE"
if errorlevel == 1 goto download32
if %errorlevel% == 1 goto download32
set MINGW=mingw64.exe
:downloadfinished