From 0e7054c196eb27558b1f7be1b2a40a25e8e9d6cc Mon Sep 17 00:00:00 2001 From: huiyadanli Date: Fri, 25 Mar 2022 22:51:06 +0800 Subject: [PATCH] =?UTF-8?q?[#]=201.3=20=E8=A1=A5=E4=B8=81=E5=9C=B0?= =?UTF-8?q?=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- RevokeMsgPatcher/FormMain.cs | 2 +- RevokeMsgPatcher/Utils/HttpUtil.cs | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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()