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
Install-Firefox $context;
. "$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 -e --id Brave.Brave.Nightly;
winget install --accept-source-agreements --accept-package-agreements `
-e --id Brave.Brave `
-e --id Brave.Brave.Beta `
-e --id Brave.Brave.Nightly;
$context.RemoveDesktopIcon("*Brave*");
$context.RemoveTaskbarItem("*Brave*");