Implement InstallShieldPackage.OpenPackage.
This commit is contained in:
committed by
Gustas Kažukauskas
parent
374166e9d3
commit
3c7389f582
@@ -119,7 +119,14 @@ namespace OpenRA.Mods.Common.FileSystem
|
||||
|
||||
public IReadOnlyPackage OpenPackage(string filename, FS context)
|
||||
{
|
||||
// Not implemented
|
||||
var childStream = GetStream(filename);
|
||||
if (childStream == null)
|
||||
return null;
|
||||
|
||||
if (context.TryParsePackage(childStream, filename, out var package))
|
||||
return package;
|
||||
|
||||
childStream.Dispose();
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user