From b01b8e4bc8ecb34085994edf986d08e86b796438 Mon Sep 17 00:00:00 2001 From: Dimitrij Date: Fri, 17 Mar 2023 00:42:46 +0000 Subject: [PATCH] adjust installer script --- Tools/rename_and_copy_installer.ps1 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Tools/rename_and_copy_installer.ps1 b/Tools/rename_and_copy_installer.ps1 index 2ec9b756a..bf61d721b 100644 --- a/Tools/rename_and_copy_installer.ps1 +++ b/Tools/rename_and_copy_installer.ps1 @@ -16,13 +16,13 @@ $msiversion = $fileversion # determine update channel if ($env:APPVEYOR_PROJECT_NAME -match "(Nightly)") { - Write-Output "UpdateChannel = Nightly" + Write-Output " UpdateChannel = Nightly" $msiversion = "$msiversion-NB" } elseif ($env:APPVEYOR_PROJECT_NAME -match "(Preview)") { - Write-Output "UpdateChannel = Preview" + Write-Output " UpdateChannel = Preview" $msiversion = "$msiversion-PB" } elseif ($env:APPVEYOR_PROJECT_NAME -match "(Stable)") { - Write-Output "UpdateChannel = Stable" + Write-Output " UpdateChannel = Stable" } else { } @@ -35,17 +35,16 @@ $dstMsi = $SolutionDir + "mRemoteNG\bin\x64\$BuildConfiguration\mRemoteNG-Instal Write-Output " Copy Installer file:" Write-Output " From: $srcMsi" Write-Output " To: $dstMsi" -Write-Output " ********************" - +Write-Output "" # Copy file try { Copy-Item $srcMsi -Destination $dstMsi -Force -errorAction stop - Write-Host " Success!" + Write-Host " [Success!]" -ForegroundColor green } catch { - Write-Host " Failure!" + Write-Host " [Failure!]" -ForegroundColor red } #Copy-Item $srcSymbols -Destination $dstSymbols -Force