trying to fix appveyor no 7z-ing portable release

This commit is contained in:
Faryan Rezagholi
2021-08-20 00:36:09 +02:00
parent e5042712b6
commit b0632b8910

View File

@@ -69,7 +69,7 @@ if ($ConfigurationName -eq "Release Portable") {
if(!([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER))) { if(!([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER))) {
$outputZipPath = Join-Path -Path $SolutionDir -ChildPath "Release\mRemoteNG-Portable-$($version).zip" $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 7z a -bt -bd -bb1 -mx=9 -tzip -y -r $PortableZip "$($Source)"
} }
# Local build # Local build
else { else {