trying to fix 7z creating archives wrong on appveyor

This commit is contained in:
Faryan Rezagholi
2021-08-15 19:51:25 +02:00
parent 882438f5e0
commit 98e7250b3c

View File

@@ -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 {