pull/410/head
romanitho 2023-10-09 14:59:11 +02:00
parent 5422ae875d
commit eadf4136ed
1 changed files with 0 additions and 3 deletions

View File

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