Handle case with no config directory present in AppData

This commit is contained in:
BannZay 2022-10-12 10:52:33 +01:00
parent cfe7880d70
commit fb3a575d33

View file

@ -1,5 +1,14 @@
@echo off
if exist "%APPDATA%\DDNet\" (
@start explorer "%APPDATA%\DDNet\"
) else (
@start explorer "%APPDATA%\Teeworlds\"
start explorer "%APPDATA%\DDNet\"
exit /b
)
if exist "%APPDATA%\Teeworlds\" (
start explorer "%APPDATA%\Teeworlds\"
exit /b
)
echo No configuration directory was found.
pause