Merge branch 'main' into update/readme

This commit is contained in:
IsWaffle 2022-06-05 21:23:37 +00:00
commit c4fc62b4f8
3 changed files with 9 additions and 9 deletions

View File

@ -33,29 +33,29 @@
var argSplit = arg.Split("::"); var argSplit = arg.Split("::");
switch (argSplit[0]) switch (argSplit[0].ToLower())
{ {
case "OutputFolderName": case "outputfoldername":
{ {
outputFolderPath = argSplit[1]; outputFolderPath = argSplit[1];
break; break;
} }
case "SourceFolderPath": case "sourcefolderpath":
{ {
sourceFolderPath = argSplit[1]; sourceFolderPath = argSplit[1];
break; break;
} }
case "TargetFolderPath": case "targetfolderpath":
{ {
targetFolderPath = argSplit[1]; targetFolderPath = argSplit[1];
break; break;
} }
case "AutoZip": case "autozip":
{ {
autoZip = bool.Parse(argSplit[1]); autoZip = bool.Parse(argSplit[1]);
break; break;
} }
case "AutoClose": 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);