Add command to dump InstallShield contents.

This commit is contained in:
Paul Chote
2016-04-29 18:20:15 +01:00
parent 67d6de91e3
commit 92ea404b0b
3 changed files with 50 additions and 1 deletions

View File

@@ -18,7 +18,7 @@ namespace OpenRA.FileSystem
{
public sealed class InstallShieldPackage : IReadOnlyPackage
{
struct Entry
public struct Entry
{
public readonly uint Offset;
public readonly uint Length;
@@ -124,6 +124,8 @@ namespace OpenRA.FileSystem
return index.ContainsKey(filename);
}
public IReadOnlyDictionary<string, Entry> Index { get { return new ReadOnlyDictionary<string, Entry>(index); } }
public void Dispose()
{
s.Dispose();