From 68e6205ed9cbf2f603e6464a5861965265296eda Mon Sep 17 00:00:00 2001
From: Manuel Thalmann <m@nuth.ch>
Date: Tue, 8 Aug 2023 00:43:11 +0200
Subject: [PATCH] Install multiple winget packages in one command

---
 scripts/Windows/Collections/Personal.ps1 | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/scripts/Windows/Collections/Personal.ps1 b/scripts/Windows/Collections/Personal.ps1
index d28c01db..509d8981 100644
--- a/scripts/Windows/Collections/Personal.ps1
+++ b/scripts/Windows/Collections/Personal.ps1
@@ -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*");