setting workdir for 7z

This commit is contained in:
Faryan Rezagholi
2021-08-20 13:03:22 +02:00
parent 99c7dbb332
commit ac1f32f773

View File

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