Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Merge pull request #202 from pysj/wimsupport
Browse files Browse the repository at this point in the history
Added support for Wim in OutArchiveFormat
  • Loading branch information
squid-box authored Apr 9, 2024
2 parents eeb9e42 + 9118ecb commit b26f41b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion SevenZip/Formats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,11 @@ public enum OutArchiveFormat
/// <remarks><a href="http://en.wikipedia.org/wiki/Bzip2">Wikipedia information</a></remarks>
BZip2,
/// <summary>
/// Microsoft Windows Imaging disk image format.
/// </summary>
/// <remarks><a href="http://en.wikipedia.org/wiki/Windows_Imaging_Format">Wikipedia information</a></remarks>
Wim,
/// <summary>
/// Open Tar archive format.
/// </summary>
/// <remarks><a href="http://en.wikipedia.org/wiki/Tar_(file_format)">Wikipedia information</a></remarks>
Expand Down Expand Up @@ -447,9 +452,10 @@ internal static int GetMaxValue(Type type)
{OutArchiveFormat.SevenZip, new Guid("23170f69-40c1-278a-1000-000110070000")},
{OutArchiveFormat.Zip, new Guid("23170f69-40c1-278a-1000-000110010000")},
{OutArchiveFormat.BZip2, new Guid("23170f69-40c1-278a-1000-000110020000")},
{OutArchiveFormat.Wim, new Guid("23170f69-40c1-278a-1000-000110E60000")},
{OutArchiveFormat.GZip, new Guid("23170f69-40c1-278a-1000-000110ef0000")},
{OutArchiveFormat.Tar, new Guid("23170f69-40c1-278a-1000-000110ee0000")},
{OutArchiveFormat.XZ, new Guid("23170f69-40c1-278a-1000-0001100C0000")},
{OutArchiveFormat.XZ, new Guid("23170f69-40c1-278a-1000-0001100C0000")}
};

#endregion
Expand Down Expand Up @@ -478,6 +484,7 @@ internal static int GetMaxValue(Type type)
{OutArchiveFormat.SevenZip, InArchiveFormat.SevenZip},
{OutArchiveFormat.GZip, InArchiveFormat.GZip},
{OutArchiveFormat.BZip2, InArchiveFormat.BZip2},
{OutArchiveFormat.Wim, InArchiveFormat.Wim},
{OutArchiveFormat.Tar, InArchiveFormat.Tar},
{OutArchiveFormat.XZ, InArchiveFormat.XZ},
{OutArchiveFormat.Zip, InArchiveFormat.Zip}
Expand Down

0 comments on commit b26f41b

Please sign in to comment.