From 4d30e144e064eb88774f24c79a2cf03eb1fc3c6a Mon Sep 17 00:00:00 2001 From: KnifMelti Date: Mon, 18 Sep 2023 23:15:56 +0200 Subject: [PATCH] Reflecting #85 in Winget-Install Repo --- Winget-AutoUpdate/mods/_Mods-Functions.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Winget-AutoUpdate/mods/_Mods-Functions.ps1 b/Winget-AutoUpdate/mods/_Mods-Functions.ps1 index 63e64d1..a6550b3 100644 --- a/Winget-AutoUpdate/mods/_Mods-Functions.ps1 +++ b/Winget-AutoUpdate/mods/_Mods-Functions.ps1 @@ -35,14 +35,14 @@ function Wait-ModsProc ($Wait) { function Install-WingetID ($WingetIDInst) { foreach ($app in $WingetIDInst) { - & $Winget install --id $app --accept-package-agreements --accept-source-agreements -h + & $Winget install --id $app -e --accept-package-agreements --accept-source-agreements -s winget -h } Return } function Uninstall-WingetID ($WingetIDUninst) { foreach ($app in $WingetIDUninst) { - & $Winget uninstall --id $app -e --accept-source-agreements -h + & $Winget uninstall --id $app -e --accept-source-agreements -s winget -h } Return }