More system properties because yes!! 🎉

Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
TheKodeToad
2023-08-11 00:02:27 +01:00
parent 7c547f6452
commit e2d77f21ba
3 changed files with 24 additions and 4 deletions

View File

@ -634,6 +634,12 @@ QString MinecraftInstance::createLaunchScript(AuthSessionPtr session, MinecraftS
launchScript += "windowParams " + windowParams + "\n";
}
// instance info
{
launchScript += "instanceName " + name() + "\n";
launchScript += "instanceIconKey " + iconKey() + "\n";
}
// legacy auth
if (session) {
launchScript += "userName " + session->player_name + "\n";