mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2025-06-13 05:37:42 +02:00
Respect console options (opening a console at all, automatically closing)
This commit is contained in:
@ -138,7 +138,7 @@ void MinecraftProcess::finish(int code, ExitStatus status)
|
||||
}
|
||||
}
|
||||
m_instance->cleanupAfterRun();
|
||||
emit ended();
|
||||
emit ended(m_instance);
|
||||
}
|
||||
|
||||
void MinecraftProcess::killMinecraft()
|
||||
@ -193,4 +193,4 @@ MessageLevel::Enum MinecraftProcess::getLevel(const QString &line, MessageLevel:
|
||||
if (line.contains("[DEBUG]"))
|
||||
level = MessageLevel::Debug;
|
||||
return level;
|
||||
}
|
||||
}
|
||||
|
@ -67,7 +67,7 @@ signals:
|
||||
/**
|
||||
* @brief emitted when mc has finished and the PostLaunchCommand was run
|
||||
*/
|
||||
void ended();
|
||||
void ended(BaseInstance*);
|
||||
|
||||
/**
|
||||
* @brief emitted when we want to log something
|
||||
|
Reference in New Issue
Block a user