Skip to content

Commit b96917e

Browse files
authored
Merge pull request #211 from richlander/dotnetcdn
Move to dotnet CDN
2 parents e14d3bc + 0c4f1b5 commit b96917e

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ All efforts are directed towards the SophiApp 2.0 development. Read more: <https
4848
* https://raw.githubusercontent.com
4949
* https://github.com
5050
* https://download.visualstudio.microsoft.com
51-
* https://dotnetcli.blob.core.windows.net
51+
* https://builds.dotnet.microsoft.com
5252
* https://www.google.com
5353
* https://g.live.com
5454
* https://oneclient.sfx.ms

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ scoop install sophiapp
240240
* <https://raw.githubusercontent.com>
241241
* <https://github.com>
242242
* <https://download.visualstudio.microsoft.com>
243-
* <https://dotnetcli.blob.core.windows.net>
243+
* <https://builds.dotnet.microsoft.com>
244244
* <https://www.google.com>
245245
* <https://g.live.com>
246246
* <https://oneclient.sfx.ms>

README_cn-si.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ scoop install sophiapp
235235
* <https://raw.githubusercontent.com>
236236
* <https://github.com>
237237
* <https://download.visualstudio.microsoft.com>
238-
* <https://dotnetcli.blob.core.windows.net>
238+
* <https://builds.dotnet.microsoft.com>
239239
* <https://www.google.com>
240240
* <https://g.live.com>
241241
* <https://oneclient.sfx.ms>

README_de-de.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ scoop install sophiapp
238238
* <https://raw.githubusercontent.com>
239239
* <https://github.com>
240240
* <https://download.visualstudio.microsoft.com>
241-
* <https://dotnetcli.blob.core.windows.net>
241+
* <https://builds.dotnet.microsoft.com>
242242
* <https://www.google.com>
243243
* <https://g.live.com>
244244
* <https://oneclient.sfx.ms>

README_it-it.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ scoop install sophiapp
237237
* <https://raw.githubusercontent.com>
238238
* <https://github.com>
239239
* <https://download.visualstudio.microsoft.com>
240-
* <https://dotnetcli.blob.core.windows.net>
240+
* <https://builds.dotnet.microsoft.com>
241241
* <https://www.google.com>
242242
* <https://g.live.com>
243243
* <https://oneclient.sfx.ms>

README_ru-ru.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ scoop install sophiapp
237237
* <https://raw.githubusercontent.com>
238238
* <https://github.com>
239239
* <https://download.visualstudio.microsoft.com>
240-
* <https://dotnetcli.blob.core.windows.net>
240+
* <https://builds.dotnet.microsoft.com>
241241
* <https://www.google.com>
242242
* <https://g.live.com>
243243
* <https://oneclient.sfx.ms>

README_tr-tr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ scoop install sophiapp
236236
* <https://raw.githubusercontent.com>
237237
* <https://github.com>
238238
* <https://download.visualstudio.microsoft.com>
239-
* <https://dotnetcli.blob.core.windows.net>
239+
* <https://builds.dotnet.microsoft.com>
240240
* <https://www.google.com>
241241
* <https://g.live.com>
242242
* <https://oneclient.sfx.ms>

README_uk-ua.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ scoop install sophiapp
239239
* <https://raw.githubusercontent.com>
240240
* <https://github.com>
241241
* <https://download.visualstudio.microsoft.com>
242-
* <https://dotnetcli.blob.core.windows.net>
242+
* <https://builds.dotnet.microsoft.com>
243243
* <https://www.google.com>
244244
* <https://g.live.com>
245245
* <https://oneclient.sfx.ms>

src/SophiApp/Customisations/CustomisationOs.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -960,7 +960,7 @@ public static void _352(bool _)
960960
public static void _354(bool _)
961961
{
962962
var temp = Environment.GetEnvironmentVariable(TEMP);
963-
var cloudNet6 = WebHelper.GetJsonResponse<MsNetDto>(@"https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
963+
var cloudNet6 = WebHelper.GetJsonResponse<MsNetDto>(@"https://builds.dotnet.microsoft.com/dotnet/release-metadata/6.0/releases.json");
964964
var latestRelease = cloudNet6.Releases.Where(release => release.ReleaseVersion == $"{cloudNet6.LatestRelease}").First();
965965
var latestRuntime = latestRelease.WindowsDesktop.Files.Where(file => file.Name == "windowsdesktop-runtime-win-x86.exe").First();
966966
var installer = $@"{temp}\{latestRuntime.Url.Substring(latestRuntime.Url.LastIndexOf('/') + 1)}";
@@ -984,7 +984,7 @@ public static void _355(bool _)
984984
public static void _357(bool _)
985985
{
986986
var temp = Environment.GetEnvironmentVariable(TEMP);
987-
var cloudNet6 = WebHelper.GetJsonResponse<MsNetDto>(@"https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
987+
var cloudNet6 = WebHelper.GetJsonResponse<MsNetDto>(@"https://builds.dotnet.microsoft.com/dotnet/release-metadata/6.0/releases.json");
988988
var latestRelease = cloudNet6.Releases.Where(release => release.ReleaseVersion == $"{cloudNet6.LatestRelease}").First();
989989
var latestRuntime = latestRelease.WindowsDesktop.Files.Where(file => file.Name == "windowsdesktop-runtime-win-x64.exe").First();
990990
var installer = $@"{temp}\{latestRuntime.Url.Substring(latestRuntime.Url.LastIndexOf('/') + 1)}";

src/SophiApp/Customisations/CustomisationStatus.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public static bool _354()
455455
{
456456
if (HttpHelper.IsOnline)
457457
{
458-
var cloudNetVersion = WebHelper.GetJsonResponse<MsNetDto>(@"https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
458+
var cloudNetVersion = WebHelper.GetJsonResponse<MsNetDto>(@"https://builds.dotnet.microsoft.com/dotnet/release-metadata/6.0/releases.json");
459459
return DotNetHelper.IsInstalled(cloudNetVersion.LatestRelease, DotNetRid.Win_x86)
460460
? throw new DotNetInstalledException(cloudNetVersion.LatestRelease)
461461
: false;
@@ -472,7 +472,7 @@ public static bool _357()
472472
{
473473
if (HttpHelper.IsOnline)
474474
{
475-
var cloudNetVersion = WebHelper.GetJsonResponse<MsNetDto>(@"https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
475+
var cloudNetVersion = WebHelper.GetJsonResponse<MsNetDto>(@"https://builds.dotnet.microsoft.com/dotnet/release-metadata/6.0/releases.json");
476476
return DotNetHelper.IsInstalled(cloudNetVersion.LatestRelease, DotNetRid.Win_x64)
477477
? throw new DotNetInstalledException(cloudNetVersion.LatestRelease)
478478
: false;

0 commit comments

Comments
 (0)