diff --git a/SimpleDnsCrypt/DNSx64/dnscrypt-proxy.exe b/SimpleDnsCrypt/DNSx64/dnscrypt-proxy.exe index 8ccb040d..f3418c92 100644 Binary files a/SimpleDnsCrypt/DNSx64/dnscrypt-proxy.exe and b/SimpleDnsCrypt/DNSx64/dnscrypt-proxy.exe differ diff --git a/SimpleDnsCrypt/DNSx86/dnscrypt-proxy.exe b/SimpleDnsCrypt/DNSx86/dnscrypt-proxy.exe index 6dc14273..5fe9fdca 100644 Binary files a/SimpleDnsCrypt/DNSx86/dnscrypt-proxy.exe and b/SimpleDnsCrypt/DNSx86/dnscrypt-proxy.exe differ diff --git a/SimpleDnsCrypt/Helper/PatchHelper.cs b/SimpleDnsCrypt/Helper/PatchHelper.cs index 82e8c7e6..e20169da 100644 --- a/SimpleDnsCrypt/Helper/PatchHelper.cs +++ b/SimpleDnsCrypt/Helper/PatchHelper.cs @@ -109,6 +109,27 @@ public static bool Patch() return DnscryptProxyConfigurationManager.SaveConfiguration(); } + if(version.Equals("0.7.3")) + { + //update relays and resolvers + var sources = DnscryptProxyConfigurationManager.DnscryptProxyConfiguration.sources; + if (sources.ContainsKey("relays")) + { + if(sources["relays"].urls[0].Contains("/v2/") && sources["relays"].urls[1].Contains("/v2/")) + { + sources["relays"].urls = new[] { "https://github.com/DNSCrypt/dnscrypt-resolvers/raw/master/v3/relays.md", "https://download.dnscrypt.info/resolvers-list/v3/relays.md" }; + } + } + if (sources.ContainsKey("public-resolvers")) + { + if (sources["public-resolvers"].urls[0].Contains("/v2/") && sources["public-resolvers"].urls[1].Contains("/v2/")) + { + sources["public-resolvers"].urls = new[] { "https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md", "https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md" }; + } + } + + return DnscryptProxyConfigurationManager.SaveConfiguration(); + } return false; } diff --git a/SimpleDnsCrypt/Properties/AssemblyInfo.cs b/SimpleDnsCrypt/Properties/AssemblyInfo.cs index 688e9ff8..fabc7f45 100644 --- a/SimpleDnsCrypt/Properties/AssemblyInfo.cs +++ b/SimpleDnsCrypt/Properties/AssemblyInfo.cs @@ -14,5 +14,5 @@ ResourceDictionaryLocation.None, ResourceDictionaryLocation.SourceAssembly )] -[assembly: AssemblyVersion("0.7.2")] -[assembly: AssemblyFileVersion("0.7.2")] +[assembly: AssemblyVersion("0.7.3")] +[assembly: AssemblyFileVersion("0.7.3")] diff --git a/SimpleDnsCrypt/SimpleDnsCrypt.csproj b/SimpleDnsCrypt/SimpleDnsCrypt.csproj index f1721ab1..85feaeec 100644 --- a/SimpleDnsCrypt/SimpleDnsCrypt.csproj +++ b/SimpleDnsCrypt/SimpleDnsCrypt.csproj @@ -546,7 +546,7 @@ 0.15.0 - 12.0.3 + 13.0.3 4.7.0 diff --git a/SimpleDnsCrypt/dnscrypt-proxy/dnscrypt-proxy.toml b/SimpleDnsCrypt/dnscrypt-proxy/dnscrypt-proxy.toml index 7a6cf8dd..dc844e65 100644 --- a/SimpleDnsCrypt/dnscrypt-proxy/dnscrypt-proxy.toml +++ b/SimpleDnsCrypt/dnscrypt-proxy/dnscrypt-proxy.toml @@ -48,13 +48,13 @@ skip_incompatible = false [sources] [sources.'public-resolvers'] -urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v2/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md'] +urls = ['https://raw.githubusercontent.com/DNSCrypt/dnscrypt-resolvers/master/v3/public-resolvers.md', 'https://download.dnscrypt.info/resolvers-list/v3/public-resolvers.md'] cache_file = 'public-resolvers.md' minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' prefix = '' [sources.'relays'] -urls = ['https://github.com/DNSCrypt/dnscrypt-resolvers/raw/master/v2/relays.md', 'https://download.dnscrypt.info/resolvers-list/v2/relays.md'] +urls = ['https://github.com/DNSCrypt/dnscrypt-resolvers/raw/master/v3/relays.md', 'https://download.dnscrypt.info/resolvers-list/v3/relays.md'] cache_file = 'relays.md' minisign_key = 'RWQf6LRCGA9i53mlYecO4IzT51TGPpvWucNSCh1CBM0QTaLn73Y7GFO3' refresh_delay = 72 diff --git a/Uninstall/App.config b/Uninstall/App.config index 731f6de6..4bfa0056 100644 --- a/Uninstall/App.config +++ b/Uninstall/App.config @@ -1,6 +1,6 @@ - + - + - \ No newline at end of file + diff --git a/Uninstall/Uninstall.csproj b/Uninstall/Uninstall.csproj index 7f96ca24..de99aa39 100644 --- a/Uninstall/Uninstall.csproj +++ b/Uninstall/Uninstall.csproj @@ -8,9 +8,10 @@ Exe Uninstall Uninstall - v4.6.1 + v4.8 512 true + AnyCPU