install C++ libs first
This commit is contained in:
parent
68e2c310fa
commit
b1b5e97b54
1 changed files with 12 additions and 12 deletions
|
@ -44,6 +44,18 @@ REG ADD "HKEY_CURRENT_USER\Keyboard Layout\toggle" /v "Language Hotkey" /t REG_S
|
|||
ECHO Y | winget list >NUL
|
||||
SET "pmi=winget install -he"
|
||||
|
||||
:: 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 ^
|
||||
Microsoft.VCRedist.2012.x86 Microsoft.VCRedist.2012.x64 ^
|
||||
Microsoft.VCRedist.2013.x86 Microsoft.VCRedist.2013.x64 ^
|
||||
Microsoft.VCRedist.2015+.x86 Microsoft.VCRedist.2015+.x64"
|
||||
|
||||
for %%i in (!cpp_libs!) do (
|
||||
!pmi! %%i
|
||||
)
|
||||
|
||||
:: Applications
|
||||
SET ^"apps=Mozilla.Firefox 7zip.7zip Discord.Discord Valve.Steam ^
|
||||
voidtools.Everything.Lite VideoLAN.VLC File-New-Project.EarTrumpet ^
|
||||
|
@ -60,18 +72,6 @@ for %%i in (!apps!) do (
|
|||
!pmi! %%i
|
||||
)
|
||||
|
||||
:: 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 ^
|
||||
Microsoft.VCRedist.2012.x86 Microsoft.VCRedist.2012.x64 ^
|
||||
Microsoft.VCRedist.2013.x86 Microsoft.VCRedist.2013.x64 ^
|
||||
Microsoft.VCRedist.2015+.x86 Microsoft.VCRedist.2015+.x64"
|
||||
|
||||
for %%i in (!cpp_libs!) do (
|
||||
!pmi! %%i
|
||||
)
|
||||
|
||||
:: Install WSL
|
||||
wsl --install
|
||||
|
||||
|
|
Loading…
Reference in a new issue