Install multiple winget packages in one command

This commit is contained in:
Manuel Thalmann 2023-08-08 00:43:11 +02:00
parent 60019b84f2
commit 68e6205ed9

View file

@ -69,9 +69,11 @@ function Restore-PersonalApps([Context] $context) {
# Browsing # Browsing
Install-Firefox $context; Install-Firefox $context;
. "$PSScriptRoot/../Software/MSEdgeRedirect/Install.ps1"; . "$PSScriptRoot/../Software/MSEdgeRedirect/Install.ps1";
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave;
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave.Beta; winget install --accept-source-agreements --accept-package-agreements `
winget install --accept-source-agreements --accept-package-agreements -e --id Brave.Brave.Nightly; -e --id Brave.Brave `
-e --id Brave.Brave.Beta `
-e --id Brave.Brave.Nightly;
$context.RemoveDesktopIcon("*Brave*"); $context.RemoveDesktopIcon("*Brave*");
$context.RemoveTaskbarItem("*Brave*"); $context.RemoveTaskbarItem("*Brave*");