mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-01 10:56:57 +03:00
GH-2352 Add Minecraft folder button for instances, rearrange buttons by importance
This commit is contained in:
parent
14f85813c8
commit
e4c33458f2
12 changed files with 84 additions and 45 deletions
|
|
@ -11,7 +11,7 @@ FoldersTask::FoldersTask(MinecraftInstance * inst)
|
|||
void FoldersTask::executeTask()
|
||||
{
|
||||
// Make directories
|
||||
QDir mcDir(m_inst->minecraftRoot());
|
||||
QDir mcDir(m_inst->gameRoot());
|
||||
if (!mcDir.exists() && !mcDir.mkpath("."))
|
||||
{
|
||||
emitFailed(tr("Failed to create folder for minecraft binaries."));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue