diff --git a/windev.ps1 b/windev.ps1 index 2568fa17..e4dd6fa5 100644 --- a/windev.ps1 +++ b/windev.ps1 @@ -12,9 +12,6 @@ Run in Admin Powershell > ./windev.ps1 #> -# Set PowerShell window title -$Host.UI.RawUI.WindowTitle = $myInvocation.MyCommand.Definition - # Function to fetch the latest release tag from the GitHub API function Get-LatestRelease { try { @@ -43,3 +40,6 @@ function RedirectToLatestPreRelease { # Call the redirect function RedirectToLatestPreRelease + +# Set PowerShell window title +$Host.UI.RawUI.WindowTitle = $myInvocation.MyCommand.Definition