Correct the support folder location in the crash dialog
This commit is contained in:
committed by
Oliver Brakmann
parent
a6d8d6cd8e
commit
376ed15079
@@ -25,10 +25,15 @@ OpenRA.Game.exe %*
|
||||
:end
|
||||
if %errorlevel% neq 0 goto crashdialog
|
||||
exit /b
|
||||
|
||||
:crashdialog
|
||||
set logs=%AppData%\OpenRA\Logs
|
||||
if exist %USERPROFILE%\Documents\OpenRA\Logs (set logs=%USERPROFILE%\Documents\OpenRA\Logs)
|
||||
if exist Support\Logs (set logs=%cd%\Support\Logs)
|
||||
|
||||
echo ----------------------------------------
|
||||
echo OpenRA has encountered a fatal error.
|
||||
echo * Log Files are available in Documents\OpenRA\Logs
|
||||
echo * Log Files are available in %logs%
|
||||
echo * FAQ is available at https://github.com/OpenRA/OpenRA/wiki/FAQ
|
||||
echo ----------------------------------------
|
||||
pause
|
||||
|
||||
Reference in New Issue
Block a user