Reflecting #85 in Winget-Install Repo
parent
26c743104d
commit
4d30e144e0
|
@ -35,14 +35,14 @@ function Wait-ModsProc ($Wait) {
|
||||||
|
|
||||||
function Install-WingetID ($WingetIDInst) {
|
function Install-WingetID ($WingetIDInst) {
|
||||||
foreach ($app in $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
|
Return
|
||||||
}
|
}
|
||||||
|
|
||||||
function Uninstall-WingetID ($WingetIDUninst) {
|
function Uninstall-WingetID ($WingetIDUninst) {
|
||||||
foreach ($app in $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
|
Return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue