diff --git a/README.md b/README.md index 1233f475..76cb1266 100644 --- a/README.md +++ b/README.md @@ -23,15 +23,15 @@ Winutil must be run in Admin mode because it performs system-wide tweaks. To ach ### Launch Command -#### Stable Branch (Recommended) +#### Stable Release (Recommended) ```ps1 -irm "https://christitus.com/win" | iex +iex "& { $(iwr 'https://christitus.com/win') }" ``` #### Dev Branch ```ps1 -irm "https://christitus.com/windev" | iex +iex "& { $(iwr 'https://christitus.com/win') } -preview" ``` If you have Issues, refer to [Known Issues](https://christitustech.github.io/winutil/KnownIssues/) diff --git a/scripts/launcher.ps1 b/scripts/launcher.ps1 index 806d7fb5..a58d5686 100644 --- a/scripts/launcher.ps1 +++ b/scripts/launcher.ps1 @@ -20,12 +20,14 @@ .EXAMPLE Launch the latest release of winutil. (one-liner) Invoke-Expression "& { $(Invoke-RestMethod 'https://christitus.com/win') }" + iex "& { $(iwr 'https://christitus.com/win') }" .EXAMPLE Launch the latest preview release of winutil. .\launcher.ps1 -preview .EXAMPLE Launch the latest preview release of winutil. (one-liner) Invoke-Expression "& { $(Invoke-RestMethod 'https://christitus.com/win') } -preview" + iex "& { $(iwr 'https://christitus.com/win') } -preview" #> [CmdletBinding()] param( diff --git a/windev.ps1 b/windev.ps1 index aa2a127c..c019b648 100644 --- a/windev.ps1 +++ b/windev.ps1 @@ -1,13 +1,13 @@ <# .SYNOPSIS - This Script is used as a target for the https://christitus.com/win/dev alias. + This Script is used as a target for the https://christitus.com/win/preview alias. It queries the latest winget release (no matter if Pre-Release, Draft or Full Release) and invokes It .DESCRIPTION This Script provides a simple way to always start the bleeding edge release even if it's not yet a full release. This function should be run with administrative privileges. Because this way of recursively invoking scripts via Invoke-Expression it might very well happen that AV Programs flag this because it's a common way of mulitstage exploits to run .EXAMPLE - irm https://christitus.com/win/dev | iex + iex "& { $(iwr 'https://christitus.com/win/preview') }" OR Run in Admin Powershell > ./windev.ps1 #>