Set the window params inside the launcher part, depending on launcher type.
Also create/change the new internal version files.
This commit is contained in:
@ -244,24 +244,6 @@ bool OneSixInstance::prepareForLaunch(AuthSessionPtr account, QString &launchScr
|
||||
launchScript += "windowParams " + windowParams + "\n";
|
||||
}
|
||||
|
||||
// window size, title and state, onesix
|
||||
{
|
||||
bool maximize = settings().get("LaunchMaximized").toBool();
|
||||
if (maximize)
|
||||
{
|
||||
// FIXME: there is no good way to maximize the minecraft window in onesix.
|
||||
// this is probably a BAD idea
|
||||
// launchScript += "param --fullscreen\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
launchScript +=
|
||||
"param --width\nparam " + settings().get("MinecraftWinWidth").toString() + "\n";
|
||||
launchScript +=
|
||||
"param --height\nparam " + settings().get("MinecraftWinHeight").toString() + "\n";
|
||||
}
|
||||
}
|
||||
|
||||
// legacy auth
|
||||
{
|
||||
launchScript += "userName " + session->player_name + "\n";
|
||||
|
Reference in New Issue
Block a user