diff --git a/Winget-AutoUpdate/functions/Update-WAU.ps1 b/Winget-AutoUpdate/functions/Update-WAU.ps1 index 297f04b..a025cbb 100644 --- a/Winget-AutoUpdate/functions/Update-WAU.ps1 +++ b/Winget-AutoUpdate/functions/Update-WAU.ps1 @@ -29,7 +29,7 @@ function Update-WAU{ Get-ChildItem -Path $location -Recurse | Unblock-File Write-Log "Unzip finished" $TempPath = (Resolve-Path "$location\Romanitho-Winget-AutoUpdate*\Winget-AutoUpdate\").Path - Copy-Item -Path "$TempPath\*" -Destination "$WorkingDir\" -Recurse -Force + Copy-Item -Path "$TempPath\*" -Destination "$WorkingDir\" -Exclude "icons" -Recurse -Force #Remove update zip file Write-Log "Cleaning temp files"