List full path of each file installed

This commit is contained in:
Sebastiaan Janssen
2017-02-08 14:45:07 +01:00
parent 308ed3bba7
commit 7648c76f6f
2 changed files with 29 additions and 3 deletions

View File

@@ -145,6 +145,18 @@ namespace umbraco.cms.businesslogic.packager {
var dataTypes = TryGetIntegerIds(Data.DataTypes).Select(dataTypeService.GetDataTypeDefinitionById).ToList();
var dictionaryItems = TryGetIntegerIds(Data.DictionaryItems).Select(localizationService.GetDictionaryItemById).ToList();
var languages = TryGetIntegerIds(Data.Languages).Select(localizationService.GetLanguageById).ToList();
for (var i = 0; i < Data.Files.Count; i++)
{
var filePath = Data.Files[i];
if (filePath.IsFullPath())
continue;
filePath = filePath.TrimStart('~');
if (filePath.StartsWith("/") == false)
filePath = string.Format("/{0}", filePath);
Data.Files[i] = IOHelper.MapPath(filePath);
}
return new InstallationSummary
{