From f4cbf05e7c4c53d71f425154ef6fd8634a943288 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Tue, 22 Mar 2022 00:23:44 +0100 Subject: [PATCH] Update Update-WAU.ps1 --- Winget-AutoUpdate/functions/Update-WAU.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"