Use minecraft
instead of .minecraft
for better accessibility
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
4cda04271f
commit
f54ac25614
9 changed files with 16 additions and 16 deletions
|
@ -292,10 +292,10 @@ QString MinecraftInstance::gameRoot() const
|
|||
QFileInfo mcDir(FS::PathCombine(instanceRoot(), "minecraft"));
|
||||
QFileInfo dotMCDir(FS::PathCombine(instanceRoot(), ".minecraft"));
|
||||
|
||||
if (mcDir.exists() && !dotMCDir.exists())
|
||||
return mcDir.filePath();
|
||||
else
|
||||
if (dotMCDir.exists() && !mcDir.exists())
|
||||
return dotMCDir.filePath();
|
||||
else
|
||||
return mcDir.filePath();
|
||||
}
|
||||
|
||||
QString MinecraftInstance::binRoot() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue