Skip to content

Commit

Permalink
Update Include.psm1
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessGuru committed May 10, 2021
1 parent 05bc587 commit b3c2db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Includes/Include.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b3c2db7

Please sign in to comment.