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