mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-12-21 05:21:29 -06:00
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
This commit is contained in:
parent
e0889d51db
commit
aa0b03feda
@ -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"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user