Skip to content

Commit

Permalink
Merge pull request #609 from Constaline/master
Browse files Browse the repository at this point in the history
更新补丁数据源地址
  • Loading branch information
huiyadanli authored Jul 16, 2023
2 parents 106860a + 737a671 commit a997c41
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions RevokeMsgPatcher/Utils/HttpUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,19 @@ static HttpUtil()
/// https://huiyadanli.github.io/i/revokemsg/05.json
/// 会自动跳转,没用了
/// https://gitee.com/huiyadanli/RevokeMsgPatcher/raw/master/RevokeMsgPatcher.Assistant/Data/1.2/patch.json
/// 需要登录,没用了 // 又正常了
/// https://huiyadanli.coding.net/p/RevokeMsgPatcher/d/RevokeMsgPatcher/git/raw/master/RevokeMsgPatcher.Assistant/Data/1.5/patch.json
/// 需要登录,没用了
/// 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";

private static readonly string[] urls = new string[]
{
"https://hui-config.oss-cn-hangzhou.aliyuncs.com/1.6/patch.json",
"https://cdn.jsdelivr.net/gh/huiyadanli/RevokeMsgPatcher@master/RevokeMsgPatcher.Assistant/Data/1.6/patch.json",
"https://ghproxy.com/https://raw.githubusercontent.com/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/1.6/patch.json",
"https://raw.fastgit.org/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/1.6/patch.json",
"https://huiyadanli.coding.net/p/RevokeMsgPatcher/d/RevokeMsgPatcher/git/raw/master/RevokeMsgPatcher.Assistant/Data/1.6/patch.json",
"https://raw.githubusercontent.com/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/1.6/patch.json"
$"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"
};

public static async Task<string> GetPatchJsonAsync()
Expand Down

0 comments on commit a997c41

Please sign in to comment.