mirror of
https://github.com/velopack/velopack.git
synced 2025-10-25 15:19:22 +00:00
GetLatestDotNetVersion has to be fixed, only WindowsDesktop url is providing latest.
Also, all .NET runtimes should match (desktop 6.0.21 will only be usable with aspnetcore 6.0.21)
This commit is contained in:
@@ -281,7 +281,7 @@ namespace Squirrel
|
||||
/// <inheritdoc/>
|
||||
public override async Task<string> GetDownloadUrl()
|
||||
{
|
||||
var latest = await GetLatestDotNetVersion(RuntimeType, $"{MinVersion.Major}.{MinVersion.Minor}").ConfigureAwait(false);
|
||||
var latest = await GetLatestDotNetVersion(DotnetRuntimeType.WindowsDesktop, $"{MinVersion.Major}.{MinVersion.Minor}").ConfigureAwait(false);
|
||||
var architecture = CpuArchitecture switch {
|
||||
RuntimeCpu.x86 => "x86",
|
||||
RuntimeCpu.x64 => "x64",
|
||||
|
||||
Reference in New Issue
Block a user