"pmi" as "package manager install"

This commit is contained in:
Mylloon 2023-04-23 10:50:56 +02:00
parent c99da9ba46
commit 43dd0f65bf
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -42,7 +42,7 @@ REG ADD "HKEY_CURRENT_USER\Keyboard Layout\toggle" /v "Language Hotkey" /t REG_S
:: === WinGet == :: === WinGet ==
:: Auto accept ToT :: Auto accept ToT
ECHO Y | winget list >NUL ECHO Y | winget list >NUL
SET "pm=winget install -he" SET "pmi=winget install -he"
:: Applications :: Applications
SET ^"apps=Mozilla.Firefox 7zip.7zip Discord.Discord Valve.Steam ^ SET ^"apps=Mozilla.Firefox 7zip.7zip Discord.Discord Valve.Steam ^
@ -57,7 +57,7 @@ SET ^"apps=Mozilla.Firefox 7zip.7zip Discord.Discord Valve.Steam ^
Microsoft.PowerShell Eassos.DiskGenius Xournal++.Xournal++" Microsoft.PowerShell Eassos.DiskGenius Xournal++.Xournal++"
for %%i in (!apps!) do ( for %%i in (!apps!) do (
!pm! %%i !pmi! %%i
) )
:: C++ Libraries :: C++ Libraries
@ -69,7 +69,7 @@ SET ^"cpp_libs=Microsoft.VCRedist.2005.x86 Microsoft.VCRedist.2005.x64 ^
Microsoft.VCRedist.2015+.x86 Microsoft.VCRedist.2015+.x64" Microsoft.VCRedist.2015+.x86 Microsoft.VCRedist.2015+.x64"
for %%i in (!cpp_libs!) do ( for %%i in (!cpp_libs!) do (
!pm! %%i !pmi! %%i
) )
:: Install WSL :: Install WSL