Skip to content

Commit 735e5e8

Browse files
committed
Removed testing code
1 parent 9913329 commit 735e5e8

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Refresh-WingetConfiguration.ps1

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ function Invoke-WAURefresh {
172172
$configuration
173173
)
174174
$WAUConfigLocation = "HKLM:\Software\Romanitho\Winget-Autoupdate"
175-
$WAUConfigLocation = "HKLM:\Software\test"
176175

177176

178177
Set-ItemProperty -Path $WAUConfigLocation -Name "WAU_ListPath" -Value $DataDir;
@@ -444,7 +443,7 @@ if ( ($configuration | ConvertTo-Json -Depth 1 -Compress) -ne $previousCommandLi
444443
& "$scriptlocation\Winget-Autoupdate\config\WAU-MSI_Actions.ps1" -InstallPath "$($scriptlocation)\Winget-Autoupdate" -Uninstall;
445444
Write-LogFile "Removed WAU for Reinstall." -Severity 1
446445
}
447-
& "$scriptlocation\Winget-Autoupdate"
446+
448447
& "$scriptlocation\Winget-Autoupdate\config\WAU-MSI_Actions.ps1" -InstallPath "$($scriptlocation)\Winget-Autoupdate";
449448

450449
Write-LogFile "Updated WAU." -Severity 1

0 commit comments

Comments
 (0)