diff --git a/src/NFirmwareEditor/Storages/ResourcePacksStorage.cs b/src/NFirmwareEditor/Storages/ResourcePacksStorage.cs index 5dd7d73..6f9ca10 100644 --- a/src/NFirmwareEditor/Storages/ResourcePacksStorage.cs +++ b/src/NFirmwareEditor/Storages/ResourcePacksStorage.cs @@ -48,6 +48,8 @@ public ResourcePack TryLoad(string filePath) .Select(x => x.Trim()) .ToArray(); + result.FilePath = filePath; + result.FileName = Path.GetFileName(filePath); if (result.Images == null) { Trace.Warn("Resource pack '{0}' does not contains any images.", filePath);