From 182546ee101561f8512fad54da445462afab356f Mon Sep 17 00:00:00 2001 From: Actions User Date: Sat, 25 Mar 2023 15:58:18 +0000 Subject: [PATCH 1/3] [CI] Updating repo.json for refs/tags/0.6.6.5 --- repo.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/repo.json b/repo.json index 66e305b5..8b41b9cc 100644 --- a/repo.json +++ b/repo.json @@ -4,8 +4,8 @@ "Name": "Penumbra", "Description": "Runtime mod loader and manager.", "InternalName": "Penumbra", - "AssemblyVersion": "0.6.6.4", - "TestingAssemblyVersion": "0.6.6.4", + "AssemblyVersion": "0.6.6.5", + "TestingAssemblyVersion": "0.6.6.5", "RepoUrl": "https://github.com/xivdev/Penumbra", "ApplicableVersion": "any", "DalamudApiLevel": 8, @@ -16,9 +16,9 @@ "LoadPriority": 69420, "LoadRequiredState": 2, "LoadSync": true, - "DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.4/Penumbra.zip", - "DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.4/Penumbra.zip", - "DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.4/Penumbra.zip", + "DownloadLinkInstall": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.5/Penumbra.zip", + "DownloadLinkTesting": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.5/Penumbra.zip", + "DownloadLinkUpdate": "https://github.com/xivdev/Penumbra/releases/download/0.6.6.5/Penumbra.zip", "IconUrl": "https://raw.githubusercontent.com/xivdev/Penumbra/master/images/icon.png" } ] From 51ce6d1038f700b18fba19245ab4ba0754a7bf9f Mon Sep 17 00:00:00 2001 From: Caraxi Date: Tue, 11 Apr 2023 07:17:52 +0930 Subject: [PATCH 2/3] Fix double `by` in mod name display --- Penumbra/UI/ConfigWindow.ModPanel.Header.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Penumbra/UI/ConfigWindow.ModPanel.Header.cs b/Penumbra/UI/ConfigWindow.ModPanel.Header.cs index 4893c6da..1075c9cd 100644 --- a/Penumbra/UI/ConfigWindow.ModPanel.Header.cs +++ b/Penumbra/UI/ConfigWindow.ModPanel.Header.cs @@ -176,7 +176,7 @@ public partial class ConfigWindow } // Author - var author = _mod.Author.IsEmpty ? string.Empty : $"by {_mod.Author}"; + var author = _mod.Author.IsEmpty ? string.Empty : $"{_mod.Author}"; if( author != _modAuthor ) { _modAuthor = author; From 8c28f0c6e32a018a92fbe37a991cf00ace723fc9 Mon Sep 17 00:00:00 2001 From: Jacob Keller Date: Tue, 11 Apr 2023 20:47:40 -0700 Subject: [PATCH 3/3] Ignore hidden files when generating the unused files list. Don't include hidden files in the unused file list for a mod. These files are typically things such as .git or otherwise intended to be hidden and shouldn't be included as part of the list of files which could be used. --- Penumbra/Mods/Mod.Files.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Penumbra/Mods/Mod.Files.cs b/Penumbra/Mods/Mod.Files.cs index a12b29fc..444f1fa9 100644 --- a/Penumbra/Mods/Mod.Files.cs +++ b/Penumbra/Mods/Mod.Files.cs @@ -65,6 +65,7 @@ public partial class Mod var modFiles = AllFiles.ToHashSet(); return ModPath.EnumerateDirectories() .SelectMany( f => f.EnumerateFiles( "*", SearchOption.AllDirectories ) ) + .Where( f => !f.Attributes.HasFlag( FileAttributes.Hidden ) ) .Select( f => new FullPath( f ) ) .Where( f => !modFiles.Contains( f ) ) .ToList(); @@ -142,4 +143,4 @@ public partial class Mod IModGroup.Save( group, ModPath, index ); } } -} \ No newline at end of file +}