From 1a556e86d249eec8a8bf7d5fa8b970e270e04398 Mon Sep 17 00:00:00 2001 From: ngld Date: Sun, 6 Sep 2020 01:45:11 +0200 Subject: [PATCH] Release 0.16.1 (hotfix: correctly save config on new installations) --- HtmlRenderer/Properties/AssemblyInfo.cs | 2 +- OverlayPlugin.Common/Properties/AssemblyInfo.cs | 2 +- OverlayPlugin.Core/EventSources/BuiltinEventConfig.cs | 3 ++- OverlayPlugin.Core/Properties/AssemblyInfo.cs | 2 +- OverlayPlugin.Updater/Properties/AssemblyInfo.cs | 2 +- OverlayPlugin/Properties/AssemblyInfo.cs | 2 +- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/HtmlRenderer/Properties/AssemblyInfo.cs b/HtmlRenderer/Properties/AssemblyInfo.cs index 4b59a2ec2..056332c3a 100644 --- a/HtmlRenderer/Properties/AssemblyInfo.cs +++ b/HtmlRenderer/Properties/AssemblyInfo.cs @@ -32,4 +32,4 @@ // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を // 既定値にすることができます: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.16.0.0")] +[assembly: AssemblyVersion("0.16.1.0")] diff --git a/OverlayPlugin.Common/Properties/AssemblyInfo.cs b/OverlayPlugin.Common/Properties/AssemblyInfo.cs index 7f0b1370f..3d23e7678 100644 --- a/OverlayPlugin.Common/Properties/AssemblyInfo.cs +++ b/OverlayPlugin.Common/Properties/AssemblyInfo.cs @@ -32,4 +32,4 @@ // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を // 既定値にすることができます: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.16.0.0")] +[assembly: AssemblyVersion("0.16.1.0")] diff --git a/OverlayPlugin.Core/EventSources/BuiltinEventConfig.cs b/OverlayPlugin.Core/EventSources/BuiltinEventConfig.cs index 7b0728b25..2ce54d7d9 100644 --- a/OverlayPlugin.Core/EventSources/BuiltinEventConfig.cs +++ b/OverlayPlugin.Core/EventSources/BuiltinEventConfig.cs @@ -226,7 +226,8 @@ public static BuiltinEventConfig LoadConfig(IPluginConfig Config) public void SaveConfig(IPluginConfig Config) { var newObj = JObject.FromObject(this); - if (!JObject.DeepEquals(Config.EventSourceConfigs["MiniParse"], newObj)) + if (!Config.EventSourceConfigs.ContainsKey("MiniParse") + || !JObject.DeepEquals(Config.EventSourceConfigs["MiniParse"], newObj)) { Config.EventSourceConfigs["MiniParse"] = newObj; Config.MarkDirty(); diff --git a/OverlayPlugin.Core/Properties/AssemblyInfo.cs b/OverlayPlugin.Core/Properties/AssemblyInfo.cs index c5892960b..fc8eeb06c 100644 --- a/OverlayPlugin.Core/Properties/AssemblyInfo.cs +++ b/OverlayPlugin.Core/Properties/AssemblyInfo.cs @@ -32,4 +32,4 @@ // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を // 既定値にすることができます: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.16.0.0")] +[assembly: AssemblyVersion("0.16.1.0")] diff --git a/OverlayPlugin.Updater/Properties/AssemblyInfo.cs b/OverlayPlugin.Updater/Properties/AssemblyInfo.cs index 1097341fc..39b5ca4a5 100644 --- a/OverlayPlugin.Updater/Properties/AssemblyInfo.cs +++ b/OverlayPlugin.Updater/Properties/AssemblyInfo.cs @@ -32,4 +32,4 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.16.0.0")] +[assembly: AssemblyVersion("0.16.1.0")] diff --git a/OverlayPlugin/Properties/AssemblyInfo.cs b/OverlayPlugin/Properties/AssemblyInfo.cs index 3ca18ebcf..3674cfc3d 100644 --- a/OverlayPlugin/Properties/AssemblyInfo.cs +++ b/OverlayPlugin/Properties/AssemblyInfo.cs @@ -32,4 +32,4 @@ // すべての値を指定するか、下のように '*' を使ってビルドおよびリビジョン番号を // 既定値にすることができます: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.16.0.0")] +[assembly: AssemblyVersion("0.16.1.0")]