From f17662adbcd501df343f5bfe0353f6e67f045cbd Mon Sep 17 00:00:00 2001 From: MyDrift Date: Mon, 1 Jul 2024 18:32:25 +0200 Subject: [PATCH] moved setting Window Name --- windev.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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