mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-05 21:06:58 +03:00
NOISSUE Flatten gui and logic libraries into MultiMC
This commit is contained in:
parent
dd13368085
commit
20b9f2b42a
1113 changed files with 1228 additions and 1401 deletions
|
|
@ -1,21 +0,0 @@
|
|||
#include "FoldersTask.h"
|
||||
#include "minecraft/MinecraftInstance.h"
|
||||
#include <QDir>
|
||||
|
||||
FoldersTask::FoldersTask(MinecraftInstance * inst)
|
||||
:Task()
|
||||
{
|
||||
m_inst = inst;
|
||||
}
|
||||
|
||||
void FoldersTask::executeTask()
|
||||
{
|
||||
// Make directories
|
||||
QDir mcDir(m_inst->gameRoot());
|
||||
if (!mcDir.exists() && !mcDir.mkpath("."))
|
||||
{
|
||||
emitFailed(tr("Failed to create folder for minecraft binaries."));
|
||||
return;
|
||||
}
|
||||
emitSucceeded();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue