Fix a few bugs in profilers.
* Legacy was launching before the profiler. * Some clarity changes. * Report problem with empty strings as profiler paths.
This commit is contained in:
@@ -288,7 +288,7 @@ void MinecraftProcess::killMinecraft()
|
||||
kill();
|
||||
}
|
||||
|
||||
void MinecraftProcess::launch()
|
||||
void MinecraftProcess::arm()
|
||||
{
|
||||
emit log("MultiMC version: " + MMC->version().toString() + "\n\n");
|
||||
emit log("Minecraft folder is:\n" + workingDirectory() + "\n\n");
|
||||
@@ -374,3 +374,17 @@ void MinecraftProcess::launch()
|
||||
QByteArray bytes = launchScript.toUtf8();
|
||||
writeData(bytes.constData(), bytes.length());
|
||||
}
|
||||
|
||||
void MinecraftProcess::launch()
|
||||
{
|
||||
QString launchString("launch\n");
|
||||
QByteArray bytes = launchString.toUtf8();
|
||||
writeData(bytes.constData(), bytes.length());
|
||||
}
|
||||
|
||||
void MinecraftProcess::abort()
|
||||
{
|
||||
QString launchString("abort\n");
|
||||
QByteArray bytes = launchString.toUtf8();
|
||||
writeData(bytes.constData(), bytes.length());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user