fix Tiberian Sun installation from CD

This commit is contained in:
Matthias Mailänder
2014-07-03 22:20:22 +02:00
parent 3f7293b206
commit 443b46ca64
3 changed files with 11 additions and 6 deletions

View File

@@ -55,7 +55,7 @@ namespace OpenRA
}
// TODO: The package should be mounted into its own context to avoid name collisions with installed files
public static bool ExtractFromPackage(string srcPath, string package, string[] files, string destPath, Action<string> onProgress, Action<string> onError)
public static bool ExtractFromPackage(string srcPath, string package, string annotation, string[] files, string destPath, Action<string> onProgress, Action<string> onError)
{
if (!Directory.Exists(destPath))
Directory.CreateDirectory(destPath);
@@ -63,7 +63,7 @@ namespace OpenRA
Log.Write("debug", "Mounting {0}".F(srcPath));
GlobalFileSystem.Mount(srcPath);
Log.Write("debug", "Mounting {0}".F(package));
GlobalFileSystem.Mount(package);
GlobalFileSystem.Mount(package, annotation);
foreach (var file in files)
{