mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 09:59:59 +03:00
Implement Instance launching
Use --launch <instance> to test
This commit is contained in:
parent
eda7b6cf9d
commit
9f174ad4e7
8 changed files with 425 additions and 20 deletions
|
|
@ -50,13 +50,9 @@ QString Instance::minecraftDir() const
|
|||
QFileInfo dotMCDir(PathCombine(rootDir(), ".minecraft"));
|
||||
|
||||
if (dotMCDir.exists() && !mcDir.exists())
|
||||
{
|
||||
return dotMCDir.path();
|
||||
}
|
||||
return dotMCDir.filePath();
|
||||
else
|
||||
{
|
||||
return mcDir.path();
|
||||
}
|
||||
return mcDir.filePath();
|
||||
}
|
||||
|
||||
QString Instance::binDir() const
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue