This commit is contained in:
huiyadanli 2023-10-24 01:22:22 +08:00
parent c2cf4593c5
commit 4b4ee82738
8 changed files with 23 additions and 11 deletions

View File

@ -20,8 +20,8 @@
<img width="180px" src="https://raw.githubusercontent.com/huiyadanli/RevokeMsgPatcher/master/Images/revoke.jpg"/>
下载地址:
**[⚡️点我下载最新版本](https://github.com/huiyadanli/RevokeMsgPatcher/releases/download/1.6/RevokeMsgPatcher.v1.6.zip)** |
[☁备用下载-蓝奏云](https://wwn.lanzouf.com/b00ppm2pa) 密码:4ho8 |
**[⚡️点我下载最新版本](https://github.com/huiyadanli/RevokeMsgPatcher/releases/download/1.7/RevokeMsgPatcher.v1.7.zip)** |
[☁备用下载-蓝奏云](https://wwmy.lanzouq.com/iKtq71coivli) 密码:coco|
[☁备用下载-百度云](https://pan.baidu.com/s/15ilr78t8F1-VW8eUZSkr_Q?pwd=3rrj)
相关文档:

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -16,8 +16,8 @@ namespace RevokeMsgPatcher
return new Bag
{
Apps = AppConfig(),
LatestVersion = "1.6",
PatchVersion = 20230711,
LatestVersion = "1.7",
PatchVersion = 20231024,
Notice = "",
NoticeUrl = "",
};

View File

@ -94,6 +94,7 @@
<None Include="Data\1.4\patch.json" />
<None Include="Data\1.5\patch.json" />
<None Include="Data\1.6\patch.json" />
<None Include="Data\1.7\patch.json" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>

View File

@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
//[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6")]
[assembly: AssemblyFileVersion("1.6")]
[assembly: AssemblyVersion("1.7")]
[assembly: AssemblyFileVersion("1.7")]

File diff suppressed because one or more lines are too long

View File

@ -26,14 +26,24 @@ namespace RevokeMsgPatcher.Utils
/// https://huiyadanli.coding.net/p/RevokeMsgPatcher/d/RevokeMsgPatcher/git/raw/master/RevokeMsgPatcher.Assistant/Data/1.6/patch.json
/// </summary>
public static string PatchVersion { get; } = "1.6";
public static string PatchVersion
{
get
{
string currentVersion = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString();
if (currentVersion.Length > 3)
{
return currentVersion.Substring(0, 3);
}
return "1.6";
}
}
private static readonly string[] urls = new string[]
{
$"https://hui-config.oss-cn-hangzhou.aliyuncs.com/{PatchVersion}/patch.json",
$"https://cdn.jsdelivr.net/gh/huiyadanli/RevokeMsgPatcher@master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json",
$"https://ghproxy.com/https://raw.githubusercontent.com/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json",
$"https://raw.fgit.ml/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json",
$"https://raw.githubusercontent.com/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json"
};