From 219f948c4ac48cc715ddff1e36aa494566096285 Mon Sep 17 00:00:00 2001 From: Faryan Rezagholi Date: Sat, 14 Aug 2021 13:35:13 +0200 Subject: [PATCH] again... --- Tools/zip_files.ps1 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Tools/zip_files.ps1 b/Tools/zip_files.ps1 index a5561628..5414fb37 100644 --- a/Tools/zip_files.ps1 +++ b/Tools/zip_files.ps1 @@ -22,10 +22,12 @@ Write-Output "Version is $($version)" # Fix for AppVeyor if(!([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER))) { - $path = "Release" + Write-Output "RUNNING VIA APPVEYOR!" + $AppVeyorDir = $Env:APPVEYOR_BUILD_FOLDER + $path = "$AppVeyorDir\Release" If(!(test-path $path)) { - New-Item -ItemType Directory -Force -Path $path + New-Item -ItemType Directory -Force -Path $path | Out-Null } }