Reflecting #85 in Winget-Install Repo

pull/402/head
KnifMelti 2023-09-18 23:15:56 +02:00
parent 26c743104d
commit 4d30e144e0
1 changed files with 2 additions and 2 deletions

View File

@ -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
}