mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-16 09:50:36 -06:00
moved setting Window Name
This commit is contained in:
parent
3e5b01a297
commit
f17662adbc
@ -12,9 +12,6 @@
|
|||||||
Run in Admin Powershell > ./windev.ps1
|
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 to fetch the latest release tag from the GitHub API
|
||||||
function Get-LatestRelease {
|
function Get-LatestRelease {
|
||||||
try {
|
try {
|
||||||
@ -43,3 +40,6 @@ function RedirectToLatestPreRelease {
|
|||||||
# Call the redirect function
|
# Call the redirect function
|
||||||
|
|
||||||
RedirectToLatestPreRelease
|
RedirectToLatestPreRelease
|
||||||
|
|
||||||
|
# Set PowerShell window title
|
||||||
|
$Host.UI.RawUI.WindowTitle = $myInvocation.MyCommand.Definition
|
||||||
|
Loading…
Reference in New Issue
Block a user