Skip to content

Commit 55d4469

Browse files
authored
Merge pull request #781 from RyoTune/master
Retroactively fix mods excluding the ModConfig.json when publishing.
2 parents 620e662 + 676e438 commit 55d4469

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

source/Reloaded.Mod.Launcher.Lib/Models/ViewModel/Dialog/PublishModDialogViewModel.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ public PublishModDialogViewModel(PathTuple<ModConfig> modTuple)
109109
IncludeRegexes = new ObservableCollection<StringWrapper>(
110110
_modTuple.Config.IncludeRegexes.Select(x => new StringWrapper { Value = x })
111111
);
112+
113+
if (!IncludeRegexes.Contains(@"ModConfig\.json")) IncludeRegexes.Add(@"ModConfig\.json");
112114
}
113115

114116
/// <summary>

source/Reloaded.Mod.Launcher/Reloaded.Mod.Launcher.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<UseWPF>true</UseWPF>
88
<AssemblyName>Reloaded-II</AssemblyName>
99
<RootNamespace>Reloaded.Mod.Launcher</RootNamespace>
10-
<Version>1.29.5</Version>
10+
<Version>1.29.6</Version>
1111
<Copyright>Sewer56 ~ $([System.DateTime]::UtcNow.ToString("s")) | $(Version)</Copyright>
1212
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1313
<ApplicationIcon>appicon.ico</ApplicationIcon>

0 commit comments

Comments
 (0)