Clean
parent
5422ae875d
commit
eadf4136ed
|
@ -427,9 +427,6 @@ function Install-WingetAutoUpdate {
|
|||
if ($InstallUserContext) {
|
||||
New-ItemProperty $regPath -Name WAU_UserContext -Value 1 -PropertyType DWord -Force | Out-Null
|
||||
}
|
||||
else {
|
||||
New-ItemProperty $regPath -Name WAU_UserContext -Value 0 -PropertyType DWord -Force | Out-Null
|
||||
}
|
||||
if ($DesktopShortcut) {
|
||||
New-ItemProperty $regPath -Name WAU_DesktopShortcut -Value 1 -PropertyType DWord -Force | Out-Null
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue