Browse Source

replace geosite url due to upstream change

tags/4.2.0.0
Student Main 4 years ago
parent
commit
676e606961
No known key found for this signature in database GPG Key ID: AA78519C208C8742
3 changed files with 5111 additions and 3483 deletions
  1. +1
    -1
      README.md
  2. +2
    -2
      shadowsocks-csharp/Controller/Service/GeositeUpdater.cs
  3. +5108
    -3480
      shadowsocks-csharp/Data/dlc.dat

+ 1
- 1
README.md View File

@@ -143,7 +143,7 @@ Sysproxy () https://github.com/Noisyfox/sysproxy
[Appveyor]: https://ci.appveyor.com/project/celeron533/shadowsocks-windows
[Build Status]: https://ci.appveyor.com/api/projects/status/tfw57q6eecippsl5/branch/master?svg=true
[release page]: https://github.com/shadowsocks/shadowsocks-csharp/releases
[GeoSite]: https://github.com/v2ray/domain-list-community
[GeoSite]: https://github.com/v2fly/domain-list-community
[Servers]: https://github.com/shadowsocks/shadowsocks/wiki/Ports-and-Clients#linux--server-side
[中文说明]: https://github.com/shadowsocks/shadowsocks-windows/wiki/Shadowsocks-Windows-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E
[Visual Studio 2017]: https://www.visualstudio.com/downloads/


+ 2
- 2
shadowsocks-csharp/Controller/Service/GeositeUpdater.cs View File

@@ -37,8 +37,8 @@ namespace Shadowsocks.Controller

private static HttpClientHandler httpClientHandler;
private static HttpClient httpClient;
private static readonly string GEOSITE_URL = "https://github.com/v2ray/domain-list-community/raw/release/dlc.dat";
private static readonly string GEOSITE_SHA256SUM_URL = "https://github.com/v2ray/domain-list-community/raw/release/dlc.dat.sha256sum";
private static readonly string GEOSITE_URL = "https://github.com/v2fly/domain-list-community/raw/release/dlc.dat";
private static readonly string GEOSITE_SHA256SUM_URL = "https://github.com/v2fly/domain-list-community/raw/release/dlc.dat.sha256sum";
private static byte[] geositeDB;

public static readonly Dictionary<string, IList<DomainObject>> Geosites = new Dictionary<string, IList<DomainObject>>();


+ 5108
- 3480
shadowsocks-csharp/Data/dlc.dat
File diff suppressed because it is too large
View File


Loading…
Cancel
Save