From 98e7250b3caa87a3455fec4515ff20cbbd7f83e2 Mon Sep 17 00:00:00 2001 From: Faryan Rezagholi Date: Sun, 15 Aug 2021 19:51:25 +0200 Subject: [PATCH] trying to fix 7z creating archives wrong on appveyor --- Tools/zip_files.ps1 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/zip_files.ps1 b/Tools/zip_files.ps1 index 3ab1b39d..75c70ff2 100644 --- a/Tools/zip_files.ps1 +++ b/Tools/zip_files.ps1 @@ -68,7 +68,8 @@ if ($ConfigurationName -eq "Release Portable") { # AppVeyor build if(!([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER))) { $outputZipPath = Join-Path -Path $SolutionDir -ChildPath "Release\mRemoteNG-Portable-$($version).zip" - 7z a -spf $outputZipPath $Source + #7z a -spf $outputZipPath $Source + 7z a -bt -bd -bb1 -mx=9 -tzip -y -r $PortableZip $Source } # Local build else {