Skip to content

Commit

Permalink
Merge pull request #87 from pysj/wimsupport
Browse files Browse the repository at this point in the history
Added support for Wim
  • Loading branch information
thoemmi authored May 31, 2024
2 parents 8d90edd + da2f533 commit 53e7c61
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 7Zip4Powershell/Compress7Zip.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public enum OutputFormat {
Zip,
GZip,
BZip2,
Wim,
Tar,
XZ
}
Expand Down Expand Up @@ -122,6 +123,8 @@ private OutArchiveFormat GetInferredOutArchiveFormat() {
return OutArchiveFormat.GZip;
case ".bz2":
return OutArchiveFormat.BZip2;
case ".wim":
return OutArchiveFormat.Wim;
case ".tar":
return OutArchiveFormat.Tar;
case ".xz":
Expand All @@ -137,6 +140,8 @@ private OutArchiveFormat GetInferredOutArchiveFormat() {
return OutArchiveFormat.GZip;
case OutputFormat.BZip2:
return OutArchiveFormat.BZip2;
case OutputFormat.Wim:
return OutArchiveFormat.Wim;
case OutputFormat.Tar:
return OutArchiveFormat.Tar;
case OutputFormat.XZ:
Expand Down

0 comments on commit 53e7c61

Please sign in to comment.