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("::");
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;

View File

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

View File

@ -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);