Skip to content

Commit

Permalink
[v] 1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyadanli committed Oct 23, 2023
1 parent c2cf459 commit 4b4ee82
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

相关文档:
Expand Down
2 changes: 1 addition & 1 deletion RevokeMsgPatcher.Assistant/Data/1.6/patch.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions RevokeMsgPatcher.Assistant/Data/1.7/patch.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions RevokeMsgPatcher.Assistant/JsonData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public Bag Bag()
return new Bag
{
Apps = AppConfig(),
LatestVersion = "1.6",
PatchVersion = 20230711,
LatestVersion = "1.7",
PatchVersion = 20231024,
Notice = "",
NoticeUrl = "",
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions RevokeMsgPatcher/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号
// 方法是按如下所示使用“*”: :
//[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.6")]
[assembly: AssemblyFileVersion("1.6")]
[assembly: AssemblyVersion("1.7")]
[assembly: AssemblyFileVersion("1.7")]
2 changes: 1 addition & 1 deletion RevokeMsgPatcher/Properties/Resources.resx

Large diffs are not rendered by default.

16 changes: 13 additions & 3 deletions RevokeMsgPatcher/Utils/HttpUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,24 @@ static HttpUtil()
/// 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"
};

Expand Down

0 comments on commit 4b4ee82

Please sign in to comment.