Changes windev.ps1's syntax (#4506)

* Changes windev.ps1's syntax

* Update windev.ps1
This commit is contained in:
Gabi
2026-05-19 21:26:32 +03:00
committed by GitHub
parent 753d47b9bc
commit d44c013464
+3 -12
View File
@@ -1,13 +1,4 @@
<# # Runs the pre-release version of winutil
.SYNOPSIS
This Script is used as a target for the https://christitus.com/windev alias.
.DESCRIPTION
This Script provides a simple way to start the bleeding edge release of winutil.
.EXAMPLE
irm https://christitus.com/windev | iex
OR
Run in Admin Powershell > ./windev.ps1
#>
$latestTag = (Invoke-RestMethod "https://api.github.com/repos/ChrisTitusTech/winutil/tags")[0].name $latestTag = (Invoke-RestMethod https://api.github.com/repos/ChrisTitusTech/winutil/tags).Name | Select-Object -First 1
Invoke-RestMethod "https://github.com/ChrisTitusTech/winutil/releases/download/$latestTag/winutil.ps1" | Invoke-Expression Invoke-RestMethod -Uri https://github.com/ChrisTitusTech/winutil/releases/download/$latestTag/winutil.ps1 | Invoke-Expression