Skip to content

Commit

Permalink
Merge pull request #707 from Romanitho/add-noclean
Browse files Browse the repository at this point in the history
[MSI Prerequisite] Do not clean current config on update to MSI version
  • Loading branch information
Romanitho authored Sep 19, 2024
2 parents b67345e + 2795d4e commit 52b6070
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Winget-AutoUpdate/functions/Update-WAU.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function Update-WAU {

#Uninstall WAU v1
Write-ToLog "Uninstalling WAU v1"
Start-Process powershell -ArgumentList "-WindowStyle Hidden -ExecutionPolicy Bypass -Command `"$WorkingDir\WAU-Uninstall.ps1`"" -Wait
Start-Process powershell -ArgumentList "-WindowStyle Hidden -ExecutionPolicy Bypass -Command `"$WorkingDir\WAU-Uninstall.ps1`" -NoClean" -Wait

#Update WAU and run
Write-ToLog "Updating WAU..." "Yellow"
Expand Down

0 comments on commit 52b6070

Please sign in to comment.