From c8fd83049da18980bce6ab1878f2f39650f05c00 Mon Sep 17 00:00:00 2001 From: huiyadanli Date: Fri, 25 Mar 2022 21:45:07 +0800 Subject: [PATCH] =?UTF-8?q?[+]=20=E6=A1=86=E6=9E=B6=E5=8D=87=E7=BA=A7?= =?UTF-8?q?=E4=B8=BA=204.5.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- RevokeMsgPatcher.Assistant/App.config | 6 +- .../Properties/Resources.Designer.cs | 60 ++++++++----------- .../Properties/Settings.Designer.cs | 30 ++++------ .../RevokeMsgPatcher.Assistant.csproj | 4 +- RevokeMsgPatcher.MultiInstance/App.config | 6 +- .../Properties/Resources.Designer.cs | 60 ++++++++----------- .../Properties/Settings.Designer.cs | 30 ++++------ .../RevokeMsgPatcher.MultiInstance.csproj | 4 +- RevokeMsgPatcher/App.config | 6 +- .../Properties/Resources.Designer.cs | 2 +- .../Properties/Settings.Designer.cs | 30 ++++------ RevokeMsgPatcher/RevokeMsgPatcher.csproj | 3 +- 13 files changed, 110 insertions(+), 133 deletions(-) diff --git a/README.md b/README.md index 4dff02e..86506f3 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ 1. 首先,你的系统需要满足以下条件: * Windows 7 或更高版本,**不支持XP**。 - * [.NET Framework 4.5](https://www.microsoft.com/zh-cn/download/details.aspx?id=30653) 或更高版本。**低于此版本在打开程序时可能无反应,或者直接报错**。 + * [.NET Framework 4.5.2](https://www.microsoft.com/en-us/download/details.aspx?id=42642) 或更高版本。**低于此版本在打开程序时可能无反应,或者直接报错**。 2. 使用本程序前,先关闭微信/QQ/TIM。 diff --git a/RevokeMsgPatcher.Assistant/App.config b/RevokeMsgPatcher.Assistant/App.config index 8e15646..8227adb 100644 --- a/RevokeMsgPatcher.Assistant/App.config +++ b/RevokeMsgPatcher.Assistant/App.config @@ -1,6 +1,6 @@ - + - + - \ No newline at end of file + diff --git a/RevokeMsgPatcher.Assistant/Properties/Resources.Designer.cs b/RevokeMsgPatcher.Assistant/Properties/Resources.Designer.cs index 92146a4..edaf70c 100644 --- a/RevokeMsgPatcher.Assistant/Properties/Resources.Designer.cs +++ b/RevokeMsgPatcher.Assistant/Properties/Resources.Designer.cs @@ -1,69 +1,61 @@ //------------------------------------------------------------------------------ // // 此代码由工具生成。 -// 运行时版本: 4.0.30319.42000 +// 运行时版本:4.0.30319.42000 // -// 对此文件的更改可能导致不正确的行为,如果 -// 重新生成代码,则所做更改将丢失。 +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ -namespace RevokeMsgPatcher.Assistant.Properties -{ - - +namespace RevokeMsgPatcher.Assistant.Properties { + using System; + + /// - /// 强类型资源类,用于查找本地化字符串等。 + /// 一个强类型的资源类,用于查找本地化的字符串等。 /// // 此类是由 StronglyTypedResourceBuilder // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 - // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen // (以 /str 作为命令选项),或重新生成 VS 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// - /// 返回此类使用的缓存 ResourceManager 实例。 + /// 返回此类使用的缓存的 ResourceManager 实例。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("RevokeMsgPatcher.Assistant.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// - /// 覆盖当前线程的 CurrentUICulture 属性 - /// 使用此强类型的资源类的资源查找。 + /// 重写当前线程的 CurrentUICulture 属性,对 + /// 使用此强类型资源类的所有资源查找执行重写。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } diff --git a/RevokeMsgPatcher.Assistant/Properties/Settings.Designer.cs b/RevokeMsgPatcher.Assistant/Properties/Settings.Designer.cs index 50ea233..2e80493 100644 --- a/RevokeMsgPatcher.Assistant/Properties/Settings.Designer.cs +++ b/RevokeMsgPatcher.Assistant/Properties/Settings.Designer.cs @@ -1,28 +1,24 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ -namespace RevokeMsgPatcher.Assistant.Properties -{ - - +namespace RevokeMsgPatcher.Assistant.Properties { + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.1.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { + + public static Settings Default { + get { return defaultInstance; } } diff --git a/RevokeMsgPatcher.Assistant/RevokeMsgPatcher.Assistant.csproj b/RevokeMsgPatcher.Assistant/RevokeMsgPatcher.Assistant.csproj index 92e81b2..7fb2501 100644 --- a/RevokeMsgPatcher.Assistant/RevokeMsgPatcher.Assistant.csproj +++ b/RevokeMsgPatcher.Assistant/RevokeMsgPatcher.Assistant.csproj @@ -8,7 +8,7 @@ WinExe RevokeMsgPatcher.Assistant RevokeMsgPatcher.Assistant - v4.5 + v4.5.2 512 true publish\ @@ -26,6 +26,7 @@ false false true + AnyCPU @@ -81,6 +82,7 @@ True Resources.resx + True diff --git a/RevokeMsgPatcher.MultiInstance/App.config b/RevokeMsgPatcher.MultiInstance/App.config index 8e15646..8227adb 100644 --- a/RevokeMsgPatcher.MultiInstance/App.config +++ b/RevokeMsgPatcher.MultiInstance/App.config @@ -1,6 +1,6 @@ - + - + - \ No newline at end of file + diff --git a/RevokeMsgPatcher.MultiInstance/Properties/Resources.Designer.cs b/RevokeMsgPatcher.MultiInstance/Properties/Resources.Designer.cs index 6847c43..e5109f0 100644 --- a/RevokeMsgPatcher.MultiInstance/Properties/Resources.Designer.cs +++ b/RevokeMsgPatcher.MultiInstance/Properties/Resources.Designer.cs @@ -1,69 +1,61 @@ //------------------------------------------------------------------------------ // // 此代码由工具生成。 -// 运行时版本: 4.0.30319.42000 +// 运行时版本:4.0.30319.42000 // -// 对此文件的更改可能导致不正确的行为,如果 -// 重新生成代码,则所做更改将丢失。 +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ -namespace RevokeMsgPatcher.MultiInstance.Properties -{ - - +namespace RevokeMsgPatcher.MultiInstance.Properties { + using System; + + /// - /// 强类型资源类,用于查找本地化字符串等。 + /// 一个强类型的资源类,用于查找本地化的字符串等。 /// // 此类是由 StronglyTypedResourceBuilder // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 - // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen // (以 /str 作为命令选项),或重新生成 VS 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources - { - + internal class Resources { + private static global::System.Resources.ResourceManager resourceMan; - + private static global::System.Globalization.CultureInfo resourceCulture; - + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() - { + internal Resources() { } - + /// - /// 返回此类使用的缓存 ResourceManager 实例。 + /// 返回此类使用的缓存的 ResourceManager 实例。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager - { - get - { - if ((resourceMan == null)) - { + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("RevokeMsgPatcher.MultiInstance.Properties.Resources", typeof(Resources).Assembly); resourceMan = temp; } return resourceMan; } } - + /// - /// 覆盖当前线程的 CurrentUICulture 属性 - /// 使用此强类型的资源类的资源查找。 + /// 重写当前线程的 CurrentUICulture 属性,对 + /// 使用此强类型资源类的所有资源查找执行重写。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture - { - get - { + internal static global::System.Globalization.CultureInfo Culture { + get { return resourceCulture; } - set - { + set { resourceCulture = value; } } diff --git a/RevokeMsgPatcher.MultiInstance/Properties/Settings.Designer.cs b/RevokeMsgPatcher.MultiInstance/Properties/Settings.Designer.cs index 46fb148..93c864a 100644 --- a/RevokeMsgPatcher.MultiInstance/Properties/Settings.Designer.cs +++ b/RevokeMsgPatcher.MultiInstance/Properties/Settings.Designer.cs @@ -1,28 +1,24 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ -namespace RevokeMsgPatcher.MultiInstance.Properties -{ - - +namespace RevokeMsgPatcher.MultiInstance.Properties { + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.1.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { + + public static Settings Default { + get { return defaultInstance; } } diff --git a/RevokeMsgPatcher.MultiInstance/RevokeMsgPatcher.MultiInstance.csproj b/RevokeMsgPatcher.MultiInstance/RevokeMsgPatcher.MultiInstance.csproj index 9f9949b..ddbee5a 100644 --- a/RevokeMsgPatcher.MultiInstance/RevokeMsgPatcher.MultiInstance.csproj +++ b/RevokeMsgPatcher.MultiInstance/RevokeMsgPatcher.MultiInstance.csproj @@ -8,9 +8,10 @@ WinExe RevokeMsgPatcher.MultiInstance RevokeMsgPatcher.MultiInstance - v4.5 + v4.5.2 512 true + AnyCPU @@ -69,6 +70,7 @@ True Resources.resx + True diff --git a/RevokeMsgPatcher/App.config b/RevokeMsgPatcher/App.config index 8e15646..8227adb 100644 --- a/RevokeMsgPatcher/App.config +++ b/RevokeMsgPatcher/App.config @@ -1,6 +1,6 @@ - + - + - \ No newline at end of file + diff --git a/RevokeMsgPatcher/Properties/Resources.Designer.cs b/RevokeMsgPatcher/Properties/Resources.Designer.cs index 4e89965..90a18cb 100644 --- a/RevokeMsgPatcher/Properties/Resources.Designer.cs +++ b/RevokeMsgPatcher/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace RevokeMsgPatcher.Properties { // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen // (以 /str 作为命令选项),或重新生成 VS 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { diff --git a/RevokeMsgPatcher/Properties/Settings.Designer.cs b/RevokeMsgPatcher/Properties/Settings.Designer.cs index 1de01ec..51dd912 100644 --- a/RevokeMsgPatcher/Properties/Settings.Designer.cs +++ b/RevokeMsgPatcher/Properties/Settings.Designer.cs @@ -1,28 +1,24 @@ //------------------------------------------------------------------------------ // -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 // -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 // //------------------------------------------------------------------------------ -namespace RevokeMsgPatcher.Properties -{ - - +namespace RevokeMsgPatcher.Properties { + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase - { - + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.1.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default - { - get - { + + public static Settings Default { + get { return defaultInstance; } } diff --git a/RevokeMsgPatcher/RevokeMsgPatcher.csproj b/RevokeMsgPatcher/RevokeMsgPatcher.csproj index d0de18d..9278c19 100644 --- a/RevokeMsgPatcher/RevokeMsgPatcher.csproj +++ b/RevokeMsgPatcher/RevokeMsgPatcher.csproj @@ -8,9 +8,10 @@ WinExe RevokeMsgPatcher RevokeMsgPatcher - v4.5 + v4.5.2 512 true + AnyCPU