From d44c013464baa738c6f3e9acc5abb8666185ee02 Mon Sep 17 00:00:00 2001 From: Gabi <218829269+GabiNun2@users.noreply.github.com> Date: Tue, 19 May 2026 21:26:32 +0300 Subject: [PATCH] Changes windev.ps1's syntax (#4506) * Changes windev.ps1's syntax * Update windev.ps1 --- windev.ps1 | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/windev.ps1 b/windev.ps1 index 6c74c592..488f3f31 100644 --- a/windev.ps1 +++ b/windev.ps1 @@ -1,13 +1,4 @@ -<# -.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 -#> +# Runs the pre-release version of winutil -$latestTag = (Invoke-RestMethod "https://api.github.com/repos/ChrisTitusTech/winutil/tags")[0].name -Invoke-RestMethod "https://github.com/ChrisTitusTech/winutil/releases/download/$latestTag/winutil.ps1" | Invoke-Expression +$latestTag = (Invoke-RestMethod https://api.github.com/repos/ChrisTitusTech/winutil/tags).Name | Select-Object -First 1 +Invoke-RestMethod -Uri https://github.com/ChrisTitusTech/winutil/releases/download/$latestTag/winutil.ps1 | Invoke-Expression