Merge pull request #1067 from Scrumplex/classpath-epicness

Move classpath definition into NewLaunch itself
This commit is contained in:
flow
2022-08-31 18:28:29 -03:00
committed by GitHub
3 changed files with 76 additions and 40 deletions

View File

@ -570,6 +570,11 @@ QString MinecraftInstance::createLaunchScript(AuthSessionPtr session, MinecraftS
if(!profile)
return QString();
for (auto cp : getClassPath())
{
launchScript += "classPath " + cp + "\n";
}
auto mainClass = getMainClass();
if (!mainClass.isEmpty())
{