From 07cb18d955f9e50545add104d86648bc48d2594e Mon Sep 17 00:00:00 2001 From: niklascfw Date: Sat, 15 Nov 2025 14:49:59 +0100 Subject: [PATCH] Add autoswap = true replacement in launch.ini --- BadBuilder/Program.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/BadBuilder/Program.cs b/BadBuilder/Program.cs index 181e82a..5c8835a 100644 --- a/BadBuilder/Program.cs +++ b/BadBuilder/Program.cs @@ -272,6 +272,15 @@ namespace BadBuilder } } + for (int i = 0; i < launchIniLines.Count; i++) + { + if (launchIniLines[i].TrimStart().StartsWith("autoswap", StringComparison.OrdinalIgnoreCase)) + { + launchIniLines[i] = "autoswap = true"; + break; + } + } + File.WriteAllLines(launchIniPath, launchIniLines); }