diff --git a/Patcher/PatchGenerator/Models/GenStartupArgs.cs b/Patcher/PatchGenerator/Models/GenStartupArgs.cs index 9dd48d7..d001bfb 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": { outputFolderPath = argSplit[1]; break; } - case "SourceFolderPath": + case "sourcefolderpath": { sourceFolderPath = argSplit[1]; break; } - case "TargetFolderPath": + case "targetfolderpath": { targetFolderPath = argSplit[1]; break; } - case "AutoZip": + case "autozip": { autoZip = bool.Parse(argSplit[1]); break; } - case "AutoClose": + case "autoclose": { autoClose = bool.Parse(argSplit[1]); break; diff --git a/Patcher/PatchGenerator/PatchGenerator.csproj b/Patcher/PatchGenerator/PatchGenerator.csproj index f9f0b34..44c5bef 100644 --- a/Patcher/PatchGenerator/PatchGenerator.csproj +++ b/Patcher/PatchGenerator/PatchGenerator.csproj @@ -4,8 +4,8 @@ net6.0 true enable - 2.7 - 2.7 + 2.8 + 2.8 diff --git a/Patcher/PatcherUtils/LazyOperations.cs b/Patcher/PatcherUtils/LazyOperations.cs index aafd4eb..2990ffb 100644 --- a/Patcher/PatcherUtils/LazyOperations.cs +++ b/Patcher/PatcherUtils/LazyOperations.cs @@ -99,7 +99,7 @@ namespace PatcherUtils ProcessStartInfo procInfo = new ProcessStartInfo() { FileName = SevenZExePath, - Arguments = $"a {DestinationPath} {SourcePath}" + Arguments = $"a -mm=LZMA {DestinationPath} {SourcePath}" }; Process.Start(procInfo);