Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to dotnet CDN #211

Merged
merged 3 commits into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ All efforts are directed towards the SophiApp 2.0 development. Read more: <https
* https://raw.githubusercontent.com
* https://github.com
* https://download.visualstudio.microsoft.com
* https://dotnetcli.blob.core.windows.net
* https://builds.dotnet.microsoft.com.blob.core.windows.net
* https://www.google.com
* https://g.live.com
* https://oneclient.sfx.ms
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ scoop install sophiapp
* <https://raw.githubusercontent.com>
* <https://github.com>
* <https://download.visualstudio.microsoft.com>
* <https://dotnetcli.blob.core.windows.net>
* <https://builds.dotnet.microsoft.com.blob.core.windows.net>
* <https://www.google.com>
* <https://g.live.com>
* <https://oneclient.sfx.ms>
Expand Down
2 changes: 1 addition & 1 deletion README_cn-si.md
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ scoop install sophiapp
* <https://raw.githubusercontent.com>
* <https://github.com>
* <https://download.visualstudio.microsoft.com>
* <https://dotnetcli.blob.core.windows.net>
* <https://builds.dotnet.microsoft.com.blob.core.windows.net>
* <https://www.google.com>
* <https://g.live.com>
* <https://oneclient.sfx.ms>
Expand Down
2 changes: 1 addition & 1 deletion README_de-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ scoop install sophiapp
* <https://raw.githubusercontent.com>
* <https://github.com>
* <https://download.visualstudio.microsoft.com>
* <https://dotnetcli.blob.core.windows.net>
* <https://builds.dotnet.microsoft.com.blob.core.windows.net>
* <https://www.google.com>
* <https://g.live.com>
* <https://oneclient.sfx.ms>
Expand Down
2 changes: 1 addition & 1 deletion README_it-it.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ scoop install sophiapp
* <https://raw.githubusercontent.com>
* <https://github.com>
* <https://download.visualstudio.microsoft.com>
* <https://dotnetcli.blob.core.windows.net>
* <https://builds.dotnet.microsoft.com.blob.core.windows.net>
* <https://www.google.com>
* <https://g.live.com>
* <https://oneclient.sfx.ms>
Expand Down
2 changes: 1 addition & 1 deletion README_ru-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ scoop install sophiapp
* <https://raw.githubusercontent.com>
* <https://github.com>
* <https://download.visualstudio.microsoft.com>
* <https://dotnetcli.blob.core.windows.net>
* <https://builds.dotnet.microsoft.com.blob.core.windows.net>
* <https://www.google.com>
* <https://g.live.com>
* <https://oneclient.sfx.ms>
Expand Down
2 changes: 1 addition & 1 deletion README_tr-tr.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ scoop install sophiapp
* <https://raw.githubusercontent.com>
* <https://github.com>
* <https://download.visualstudio.microsoft.com>
* <https://dotnetcli.blob.core.windows.net>
* <https://builds.dotnet.microsoft.com.blob.core.windows.net>
* <https://www.google.com>
* <https://g.live.com>
* <https://oneclient.sfx.ms>
Expand Down
2 changes: 1 addition & 1 deletion README_uk-ua.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ scoop install sophiapp
* <https://raw.githubusercontent.com>
* <https://github.com>
* <https://download.visualstudio.microsoft.com>
* <https://dotnetcli.blob.core.windows.net>
* <https://builds.dotnet.microsoft.com.blob.core.windows.net>
* <https://www.google.com>
* <https://g.live.com>
* <https://oneclient.sfx.ms>
Expand Down
4 changes: 2 additions & 2 deletions src/SophiApp/Customisations/CustomisationOs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ public static void _352(bool _)
public static void _354(bool _)
{
var temp = Environment.GetEnvironmentVariable(TEMP);
var cloudNet6 = WebHelper.GetJsonResponse<MsNetDto>(@"https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
var cloudNet6 = WebHelper.GetJsonResponse<MsNetDto>(@"https://builds.dotnet.microsoft.com.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
richlander marked this conversation as resolved.
Show resolved Hide resolved
var latestRelease = cloudNet6.Releases.Where(release => release.ReleaseVersion == $"{cloudNet6.LatestRelease}").First();
var latestRuntime = latestRelease.WindowsDesktop.Files.Where(file => file.Name == "windowsdesktop-runtime-win-x86.exe").First();
var installer = $@"{temp}\{latestRuntime.Url.Substring(latestRuntime.Url.LastIndexOf('/') + 1)}";
Expand All @@ -984,7 +984,7 @@ public static void _355(bool _)
public static void _357(bool _)
{
var temp = Environment.GetEnvironmentVariable(TEMP);
var cloudNet6 = WebHelper.GetJsonResponse<MsNetDto>(@"https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
var cloudNet6 = WebHelper.GetJsonResponse<MsNetDto>(@"https://builds.dotnet.microsoft.com.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
var latestRelease = cloudNet6.Releases.Where(release => release.ReleaseVersion == $"{cloudNet6.LatestRelease}").First();
var latestRuntime = latestRelease.WindowsDesktop.Files.Where(file => file.Name == "windowsdesktop-runtime-win-x64.exe").First();
var installer = $@"{temp}\{latestRuntime.Url.Substring(latestRuntime.Url.LastIndexOf('/') + 1)}";
Expand Down
4 changes: 2 additions & 2 deletions src/SophiApp/Customisations/CustomisationStatus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ public static bool _354()
{
if (HttpHelper.IsOnline)
{
var cloudNetVersion = WebHelper.GetJsonResponse<MsNetDto>(@"https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
var cloudNetVersion = WebHelper.GetJsonResponse<MsNetDto>(@"https://builds.dotnet.microsoft.com.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
return DotNetHelper.IsInstalled(cloudNetVersion.LatestRelease, DotNetRid.Win_x86)
? throw new DotNetInstalledException(cloudNetVersion.LatestRelease)
: false;
Expand All @@ -472,7 +472,7 @@ public static bool _357()
{
if (HttpHelper.IsOnline)
{
var cloudNetVersion = WebHelper.GetJsonResponse<MsNetDto>(@"https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
var cloudNetVersion = WebHelper.GetJsonResponse<MsNetDto>(@"https://builds.dotnet.microsoft.com.blob.core.windows.net/dotnet/release-metadata/6.0/releases.json");
return DotNetHelper.IsInstalled(cloudNetVersion.LatestRelease, DotNetRid.Win_x64)
? throw new DotNetInstalledException(cloudNetVersion.LatestRelease)
: false;
Expand Down