fixing my bullshit

This commit is contained in:
IsWaffle 2022-06-05 17:22:56 -04:00
parent 2397f3cca9
commit 9d822a80f2
3 changed files with 8 additions and 8 deletions

View File

@ -35,27 +35,27 @@
switch (argSplit[0].ToLower()) switch (argSplit[0].ToLower())
{ {
case "OutputFolderName".ToLower(): case "outputfoldername":
{ {
outputFolderPath = argSplit[1]; outputFolderPath = argSplit[1];
break; break;
} }
case "SourceFolderPath".ToLower(): case "sourcefolderpath":
{ {
sourceFolderPath = argSplit[1]; sourceFolderPath = argSplit[1];
break; break;
} }
case "TargetFolderPath".ToLower(): case "targetfolderpath":
{ {
targetFolderPath = argSplit[1]; targetFolderPath = argSplit[1];
break; break;
} }
case "AutoZip".ToLower(): case "autozip":
{ {
autoZip = bool.Parse(argSplit[1]); autoZip = bool.Parse(argSplit[1]);
break; break;
} }
case "AutoClose".ToLower(): case "autoclose":
{ {
autoClose = bool.Parse(argSplit[1]); autoClose = bool.Parse(argSplit[1]);
break; break;

View File

@ -4,8 +4,8 @@
<TargetFramework>net6.0</TargetFramework> <TargetFramework>net6.0</TargetFramework>
<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> <IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract>
<Nullable>enable</Nullable> <Nullable>enable</Nullable>
<AssemblyVersion>2.7</AssemblyVersion> <AssemblyVersion>2.8</AssemblyVersion>
<FileVersion>2.7</FileVersion> <FileVersion>2.8</FileVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -99,7 +99,7 @@ namespace PatcherUtils
ProcessStartInfo procInfo = new ProcessStartInfo() ProcessStartInfo procInfo = new ProcessStartInfo()
{ {
FileName = SevenZExePath, FileName = SevenZExePath,
Arguments = $"a {DestinationPath} {SourcePath}" Arguments = $"a -mm=LZMA {DestinationPath} {SourcePath}"
}; };
Process.Start(procInfo); Process.Start(procInfo);