mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 22:55:52 -06:00
fix windev (#2537)
This commit is contained in:
parent
138c5de5d3
commit
6ff815eed3
@ -28,7 +28,7 @@ function Get-LatestRelease {
|
|||||||
function RedirectToLatestPreRelease {
|
function RedirectToLatestPreRelease {
|
||||||
$latestRelease = Get-LatestRelease
|
$latestRelease = Get-LatestRelease
|
||||||
if ($latestRelease) {
|
if ($latestRelease) {
|
||||||
$url = "https://raw.githubusercontent.com/ChrisTitusTech/winutil/$latestRelease/winutil.ps1"
|
$url = "https://github.com/ChrisTitusTech/winutil/releases/download/$latestRelease/winutil.ps1"
|
||||||
} else {
|
} else {
|
||||||
Write-Host 'Unable to determine latest pre-release version.' -ForegroundColor Red
|
Write-Host 'Unable to determine latest pre-release version.' -ForegroundColor Red
|
||||||
Write-Host "Using latest Full Release"
|
Write-Host "Using latest Full Release"
|
||||||
|
Loading…
Reference in New Issue
Block a user