From 9d822a80f2ae8881e8cdfb179fa523177196a0ee Mon Sep 17 00:00:00 2001 From: "waffle.lord" Date: Sun, 5 Jun 2022 17:22:56 -0400 Subject: [PATCH] fixing my bullshit --- Patcher/PatchGenerator/Models/GenStartupArgs.cs | 10 +++++----- Patcher/PatchGenerator/PatchGenerator.csproj | 4 ++-- Patcher/PatcherUtils/LazyOperations.cs | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Patcher/PatchGenerator/Models/GenStartupArgs.cs b/Patcher/PatchGenerator/Models/GenStartupArgs.cs index 5230e21..d001bfb 100644 --- a/Patcher/PatchGenerator/Models/GenStartupArgs.cs +++ b/Patcher/PatchGenerator/Models/GenStartupArgs.cs @@ -35,27 +35,27 @@ switch (argSplit[0].ToLower()) { - case "OutputFolderName".ToLower(): + case "outputfoldername": { outputFolderPath = argSplit[1]; break; } - case "SourceFolderPath".ToLower(): + case "sourcefolderpath": { sourceFolderPath = argSplit[1]; break; } - case "TargetFolderPath".ToLower(): + case "targetfolderpath": { targetFolderPath = argSplit[1]; break; } - case "AutoZip".ToLower(): + case "autozip": { autoZip = bool.Parse(argSplit[1]); break; } - case "AutoClose".ToLower(): + 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);