From 3494a1fb92f67da4351c7da6ee8031aba804fd50 Mon Sep 17 00:00:00 2001 From: IsWaffle Date: Tue, 17 May 2022 12:12:51 +0000 Subject: [PATCH] Lower startup params --- Patcher/PatchGenerator/Models/GenStartupArgs.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Patcher/PatchGenerator/Models/GenStartupArgs.cs b/Patcher/PatchGenerator/Models/GenStartupArgs.cs index 9dd48d7..5230e21 100644 --- a/Patcher/PatchGenerator/Models/GenStartupArgs.cs +++ b/Patcher/PatchGenerator/Models/GenStartupArgs.cs @@ -33,29 +33,29 @@ var argSplit = arg.Split("::"); - switch (argSplit[0]) + switch (argSplit[0].ToLower()) { - case "OutputFolderName": + case "OutputFolderName".ToLower(): { outputFolderPath = argSplit[1]; break; } - case "SourceFolderPath": + case "SourceFolderPath".ToLower(): { sourceFolderPath = argSplit[1]; break; } - case "TargetFolderPath": + case "TargetFolderPath".ToLower(): { targetFolderPath = argSplit[1]; break; } - case "AutoZip": + case "AutoZip".ToLower(): { autoZip = bool.Parse(argSplit[1]); break; } - case "AutoClose": + case "AutoClose".ToLower(): { autoClose = bool.Parse(argSplit[1]); break;