Слияние ui -> main #1

Merged
sasheg merged 145 commits from ui into main 2026-08-20 13:54:02 +00:00
Showing only changes of commit 6368c32a83 - Show all commits
@@ -151,15 +151,9 @@ public class LaunchCommandBuilder {
command.addAll(getModloaderLaunchArgs());
}
// Append width/height if custom resolution
if (options.getWidth() > 0) {
command.add("--width");
command.add(String.valueOf(options.getWidth()));
}
if (options.getHeight() > 0) {
command.add("--height");
command.add(String.valueOf(options.getHeight()));
}
// NOTE: --width/--height are NOT appended here because version.json
// game args already include them via ${resolution_width}/${resolution_height}
// placeholders. Appending them again causes MultipleArgumentsForOptionException.
} else {
// Fabric, vanilla, and other loaders: use manual JVM args
command.addAll(getJvmArguments(options));