From aa0b03feda250729756db3a484fc73af0b5d679b Mon Sep 17 00:00:00 2001 From: Martin Wiethan <47688561+Marterich@users.noreply.github.com> Date: Thu, 7 Nov 2024 01:33:17 +0100 Subject: [PATCH] Update windev.ps1 (#3016) Update the text if no pre-release is found and change the text color from red to yellow to mark this as a warning instead of an error --- windev.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windev.ps1 b/windev.ps1 index 9668d2a7..6b627e08 100644 --- a/windev.ps1 +++ b/windev.ps1 @@ -30,7 +30,7 @@ function RedirectToLatestPreRelease { if ($latestRelease) { $url = "https://github.com/ChrisTitusTech/winutil/releases/download/$latestRelease/winutil.ps1" } else { - Write-Host 'Unable to determine latest pre-release version.' -ForegroundColor Red + Write-Host 'No pre-release version found. This is most likely because the latest release is a full release and no newer pre-release exists.' -ForegroundColor Yellow Write-Host "Using latest Full Release" $url = "https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1" }