mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-09 17:48:19 +00:00
Handle case with no config directory present in AppData
This commit is contained in:
parent
cfe7880d70
commit
fb3a575d33
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue