diff --git a/CrossoutLogViewer.Updater/UpdaterBase.cs b/CrossoutLogViewer.Updater/UpdaterBase.cs index f352725..5c7dbf2 100644 --- a/CrossoutLogViewer.Updater/UpdaterBase.cs +++ b/CrossoutLogViewer.Updater/UpdaterBase.cs @@ -118,7 +118,7 @@ public async Task GenerateMetadata(string path) { if (!Directory.Exists(path)) throw new DirectoryNotFoundException(path); - var local = FileMetadata.FromPaths(HashFunction, Directory.GetFiles(path)); + var local = FileMetadata.FromPaths(HashFunction, Directory.GetFiles(path)).Where(x => !Strings.MetadataFile.Equals(x.Name, StringComparison.InvariantCulture)).ToArray(); await FileMetadataHelper.WriteJson(local, Path.Combine(path, Strings.MetadataFile)); } diff --git a/resources/config/metadata.json b/resources/config/metadata.json index f0210e1..a2cdc8f 100644 --- a/resources/config/metadata.json +++ b/resources/config/metadata.json @@ -9,11 +9,6 @@ "Name": "maps.json", "Size": 821 }, - { - "Sha": "iwr+SEW6vzx5q3q/t5O1bcbFtMU=", - "Name": "metadata.json", - "Size": 507 - }, { "Sha": "uqBk6QkqAOPnbOLzlNjMPO2MphY=", "Name": "NLog.config", diff --git a/resources/images/metadata.json b/resources/images/metadata.json index b8f839f..c6aa258 100644 --- a/resources/images/metadata.json +++ b/resources/images/metadata.json @@ -209,11 +209,6 @@ "Name": "iron_way_center_256x256.jpg", "Size": 26039 }, - { - "Sha": "0NwZOisS/Wcl3T/4NdDkTd/e75c=", - "Name": "metadata.json", - "Size": 8095 - }, { "Sha": "vuSuw1d2TiYbzgBIl9t/Cj9Gdx0=", "Name": "miners_way.jpg",