diff --git a/README.md b/README.md index b03acd0..bc552ae 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ 下载地址: -**[⚡️点我下载最新版本](https://github.com/huiyadanli/RevokeMsgPatcher/releases/download/1.2/RevokeMsgPatcher.v1.2.zip)** | +**[⚡️点我下载最新版本](https://github.com/huiyadanli/RevokeMsgPatcher/releases/download/1.3/RevokeMsgPatcher.v1.3.zip)** | [☁备用下载-蓝奏云](https://wwn.lanzouf.com/iF6f9022713g) | [☁备用下载-百度云](https://pan.baidu.com/s/1VCthb411iUppRJxMk2meRg?pwd=xpq6) diff --git a/RevokeMsgPatcher/FormMain.cs b/RevokeMsgPatcher/FormMain.cs index 4cb3832..0123914 100644 --- a/RevokeMsgPatcher/FormMain.cs +++ b/RevokeMsgPatcher/FormMain.cs @@ -299,7 +299,7 @@ namespace RevokeMsgPatcher getPatchJsonStatus = "SUCCESS"; InitControls(); } - else if (newBag.PatchVersion < bag.PatchVersion) + else if (newBag.PatchVersion <= bag.PatchVersion) { needUpdate = false; lblUpdatePachJson.Text = "[ 软件内置补丁信息已经是最新 ]"; diff --git a/RevokeMsgPatcher/Utils/HttpUtil.cs b/RevokeMsgPatcher/Utils/HttpUtil.cs index c79aea8..fb6e342 100644 --- a/RevokeMsgPatcher/Utils/HttpUtil.cs +++ b/RevokeMsgPatcher/Utils/HttpUtil.cs @@ -25,8 +25,8 @@ namespace RevokeMsgPatcher.Utils /// private static readonly string[] urls = new string[] { - "https://huiyadanli.coding.net/p/RevokeMsgPatcher/d/RevokeMsgPatcher/git/raw/master/RevokeMsgPatcher.Assistant/Data/1.2/patch.json", - "https://raw.githubusercontent.com/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/1.2/patch.json" + "https://huiyadanli.coding.net/p/RevokeMsgPatcher/d/RevokeMsgPatcher/git/raw/master/RevokeMsgPatcher.Assistant/Data/1.3/patch.json", + "https://raw.githubusercontent.com/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/1.3/patch.json" }; public static async Task GetPatchJsonAsync()