mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[Setup] Update dotnet to 3.1.20
This commit is contained in:
committed by
Andrey Nekrasov
parent
e2c8880363
commit
992833bdc9
@@ -26,7 +26,7 @@ Microsoft PowerToys is a set of utilities for power users to tune and streamline
|
|||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
- Windows 11 or Windows 10 v1903 (18362) or newer.
|
- Windows 11 or Windows 10 v1903 (18362) or newer.
|
||||||
- [.NET Core 3.1.15 Desktop Runtime](https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-desktop-3.1.15-windows-x64-installer) or a newer 3.1.x runtime. The installer will handle this if not present.
|
- [.NET Core 3.1.20 Desktop Runtime](https://dotnet.microsoft.com/download/dotnet/thank-you/runtime-desktop-3.1.20-windows-x64-installer) or a newer 3.1.x runtime. The installer will handle this if not present.
|
||||||
|
|
||||||
### Via GitHub with EXE [Recommended]
|
### Via GitHub with EXE [Recommended]
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace fs = std::filesystem;
|
|||||||
|
|
||||||
namespace updating
|
namespace updating
|
||||||
{
|
{
|
||||||
constexpr size_t REQUIRED_MINIMAL_PATCH = 15;
|
constexpr size_t REQUIRED_MINIMAL_PATCH = 20;
|
||||||
|
|
||||||
bool dotnet_is_installed()
|
bool dotnet_is_installed()
|
||||||
{
|
{
|
||||||
@@ -45,7 +45,7 @@ namespace updating
|
|||||||
|
|
||||||
std::optional<fs::path> download_dotnet()
|
std::optional<fs::path> download_dotnet()
|
||||||
{
|
{
|
||||||
const wchar_t DOTNET_DESKTOP_DOWNLOAD_LINK[] = L"https://download.visualstudio.microsoft.com/download/pr/d30352fe-d4f3-4203-91b9-01a3b66a802e/bb416e6573fa278fec92113abefc58b3/windowsdesktop-runtime-3.1.15-win-x64.exe";
|
const wchar_t DOTNET_DESKTOP_DOWNLOAD_LINK[] = L"https://download.visualstudio.microsoft.com/download/pr/93c69a29-d379-4a5d-bb9e-3116cc14de41/907bbc52446d8bb7baa0c6faebde1d44/windowsdesktop-runtime-3.1.20-win-x64.exe";
|
||||||
const wchar_t DOTNET_DESKTOP_FILENAME[] = L"windowsdesktop-runtime.exe";
|
const wchar_t DOTNET_DESKTOP_FILENAME[] = L"windowsdesktop-runtime.exe";
|
||||||
|
|
||||||
auto dotnet_download_path = fs::temp_directory_path() / DOTNET_DESKTOP_FILENAME;
|
auto dotnet_download_path = fs::temp_directory_path() / DOTNET_DESKTOP_FILENAME;
|
||||||
|
|||||||
Reference in New Issue
Block a user