trying -sfp2 option on 7z for appveyor

This commit is contained in:
Faryan Rezagholi
2021-08-20 12:17:14 +02:00
parent b0632b8910
commit 99c7dbb332

View File

@@ -68,8 +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 -bt -bd -bb1 -mx=9 -tzip -y -r $PortableZip "$($Source)"
7z a -spf2 $outputZipPath $Source
#7z a -bt -bd -bb1 -mx=9 -tzip -y -r $PortableZip "$($Source)"
}
# Local build
else {