From b3c2db77545c403edc2a9c59dafbcc4ebb75ba4d Mon Sep 17 00:00:00 2001 From: Useless Guru Date: Mon, 10 May 2021 08:55:00 +0200 Subject: [PATCH] Update Include.psm1 --- Includes/Include.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Includes/Include.psm1 b/Includes/Include.psm1 index 894b2ff188..4d8c593826 100644 --- a/Includes/Include.psm1 +++ b/Includes/Include.psm1 @@ -2488,7 +2488,7 @@ Function Initialize-Autoupdate { # Backup current version folder in zip file; exclude existing zip files and download folder "Backing up current version as '$($BackupFile)'..." | Tee-Object $UpdateLog -Append | Write-Message -Level Verbose - Start-Process ".\Utils\7z" "a $($BackupFile) .\* -x!*.zip -x!downloads -x!$UpdateLog -bb1 -bd" -RedirectStandardOutput "$($UpdateLog)_tmp" -Wait -WindowStyle Hidden + Start-Process ".\Utils\7z" "a $($BackupFile) .\* -x!*.zip -x!downloads -x!cache -x!$UpdateLog -bb1 -bd" -RedirectStandardOutput "$($UpdateLog)_tmp" -Wait -WindowStyle Hidden Add-Content $UpdateLog (Get-Content -Path "$($UpdateLog)_tmp") Remove-Item -Path "$($UpdateLog)_tmp" -Force