fix cryptic error when running installer from inside a zip in Windows

This commit is contained in:
Jesse Plamondon-Willard 2018-11-23 11:57:25 -05:00
parent ba7d6a0e51
commit d1fb273d20
No known key found for this signature in database
GPG Key ID: 7D7C8097B62033CE
2 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,8 @@
# Release notes
## Upcoming
* For players:
* Fixed cryptic error when running the installer from inside a zip file on Windows.
* For the web UI:
* Added stats to compatibility list.
* Fixed compatibility list showing beta header when there's no beta in progress.

View File

@ -1 +1,8 @@
START /WAIT /B internal/windows-install.exe
@echo off
echo %~dp0 | findstr /C:"%TEMP%" 1>nul
if not errorlevel 1 (
echo Oops! It looks like you're running the installer from inside a zip file. Make sure you unzip the download first.
pause
) else (
start /WAIT /B internal/windows-install.exe
)