From 79fc9a77c1e10a968bc82057b7e3a5287f518f9f Mon Sep 17 00:00:00 2001 From: Mylloon Date: Thu, 18 May 2023 01:19:20 +0200 Subject: [PATCH] add dotnet libs --- windows11.bat | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/windows11.bat b/windows11.bat index 80e0dc1..2b68fbb 100644 --- a/windows11.bat +++ b/windows11.bat @@ -64,7 +64,7 @@ REG ADD "HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge" /v ShowRecommendat ECHO Y | winget list >NUL SET "pmi=winget install -he" -:: C++ Libraries +:: C++ libraries SET ^"cpp_libs=Microsoft.VCRedist.2005.x86 Microsoft.VCRedist.2005.x64 ^ Microsoft.VCRedist.2008.x86 Microsoft.VCRedist.2008.x64 ^ Microsoft.VCRedist.2010.x86 Microsoft.VCRedist.2010.x64 ^ @@ -76,6 +76,15 @@ for %%i in (!cpp_libs!) do ( !pmi! %%i ) +:: .NET libraries +SET ^"net_libs=Microsoft.DotNet.DesktopRuntime.3_1 ^ + Microsoft.DotNet.DesktopRuntime.5 ^ + Microsoft.DotNet.DesktopRuntime.6 ^ + Microsoft.DotNet.DesktopRuntime.7" + +for %%i in (!net_libs!) do ( + !pmi! %%i +) :: Applications SET ^"apps=Discord.Discord Mozilla.Firefox 7zip.7zip Valve.Steam Parsec.Parsec ^ voidtools.Everything.Lite VideoLAN.VLC File-New-Project.EarTrumpet ^