From 9ba6624f6a8904c10855843476f0ca49f01384a3 Mon Sep 17 00:00:00 2001 From: JohnnyRevay <65253638+jan-revay@users.noreply.github.com> Date: Fri, 13 Oct 2023 03:28:46 +0200 Subject: [PATCH] Windows - packages_install.ps1 - bugfix (foreach) --- Windows_10/packages_install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows_10/packages_install.ps1 b/Windows_10/packages_install.ps1 index e866fa52a..bdd594d04 100644 --- a/Windows_10/packages_install.ps1 +++ b/Windows_10/packages_install.ps1 @@ -94,7 +94,7 @@ $WINGET_PACKAGES = @( ) # TODO split to multiple lines -$WINGET_PACKAGES | ForEach-Object { winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id [$PSItem] } +$WINGET_PACKAGES | ForEach-Object { winget install --accept-source-agreements --accept-package-agreements --silent --disable-interactivity -e --id $PSItem } winget upgrade --all --accept-source-agreements --accept-package-agreements --silent --disable-interactivity # Pip packages