NOISSUE add an interface to pass information to CraftPresence

Specifically, the icon key and instance title.
This commit is contained in:
Petr Mrázek
2023-03-10 19:56:17 +01:00
parent d98022d3ae
commit c1ed09e747
5 changed files with 19 additions and 2 deletions

View File

@@ -513,6 +513,8 @@ QString MinecraftInstance::createLaunchScript(AuthSessionPtr session, MinecraftS
.arg(settings()->get("MinecraftWinHeight").toInt());
launchScript += "windowTitle " + windowTitle() + "\n";
launchScript += "windowParams " + windowParams + "\n";
launchScript += "instanceTitle " + instanceTitle() + "\n";
launchScript += "instanceIconId " + iconKey() + "\n";
}
// legacy auth