Added an extra bit of installer data to Install.log

This commit is contained in:
Pavel Penev
2017-11-28 02:31:18 +02:00
committed by reaperrr
parent e09d502ce1
commit 450cbeea96

View File

@@ -127,6 +127,8 @@ namespace OpenRA.Mods.Common.Widgets.Logic
var path = FindSourcePath(kv.Value, volumes); var path = FindSourcePath(kv.Value, volumes);
if (path != null) if (path != null)
{ {
Log.Write("install", "Using installer `{0}: {1}` of type `{2}`:", kv.Key, kv.Value.Title, kv.Value.Type);
var packages = content.Packages.Values var packages = content.Packages.Values
.Where(p => p.Sources.Contains(kv.Key) && !p.IsInstalled()) .Where(p => p.Sources.Contains(kv.Key) && !p.IsInstalled())
.Select(p => p.Title); .Select(p => p.Title);