feat: Update github to hub.fastgit.org

Github repositories are blocked by firewall, please follow the strategy used  by chocolately which uses fastgit.org mirror for github.
This commit is contained in:
bardophshampine 2021-10-06 10:57:55 +08:00
parent 058e1aafd1
commit 2e128bb611
3 changed files with 6 additions and 6 deletions

View file

@ -7,4 +7,4 @@
### Requirements
- Microsoft [.NET Framework 4.6](https://docs.microsoft.com/zh-cn/dotnet/framework/install/guide-for-developers) or higher
- Project V core [https://github.com/v2fly/v2ray-core/releases](https://github.com/v2fly/v2ray-core/releases)
- Project V core [https://hub.fastgit.org/v2fly/v2ray-core/releases](https://hub.fastgit.org/v2fly/v2ray-core/releases)

View file

@ -9,11 +9,11 @@ namespace v2rayN
public const string DownloadFileName = "v2ray-windows.zip";
public const string v2rayWebsiteUrl = @"https://www.v2fly.org/";
public const string AboutUrl = @"https://github.com/2dust/v2rayN";
public const string AboutUrl = @"https://hub.fastgit.org/2dust/v2rayN";
public const string UpdateUrl = AboutUrl + @"/releases";
public const string v2flyCoreUrl = "https://github.com/v2fly/v2ray-core/releases";
public const string xrayCoreUrl = "https://github.com/XTLS/Xray-core/releases";
public const string NUrl = @"https://github.com/2dust/v2rayN/releases";
public const string v2flyCoreUrl = "https://hub.fastgit.org/v2fly/v2ray-core/releases";
public const string xrayCoreUrl = "https://hub.fastgit.org/XTLS/Xray-core/releases";
public const string NUrl = @"https://hub.fastgit.org/2dust/v2rayN/releases";
/// <summary>

View file

@ -35,7 +35,7 @@ namespace v2rayN.Handler
private const string v2flyCoreUrl = Global.v2flyCoreUrl + "/download/{0}/v2ray-windows-{1}.zip";
private readonly string xrayCoreLatestUrl = Global.xrayCoreUrl + "/latest";
private const string xrayCoreUrl = Global.xrayCoreUrl + "/download/{0}/Xray-windows-{1}.zip";
private const string geoUrl = "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/{0}.dat";
private const string geoUrl = "https://hub.fastgit.org/Loyalsoldier/v2ray-rules-dat/releases/latest/download/{0}.dat";
public void CheckUpdateGuiN(Config config, Action<bool, string> update)
{