MyDrift
2024-07-09 00:52:24 +02:00
parent b47036630c
commit a86b07a826
11 changed files with 37 additions and 0 deletions

View File

@ -153,6 +153,10 @@ Invoke-WPFRunspace -ScriptBlock {
# Print the logo
Invoke-WPFFormVariables
# https://learn.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbariteminfo?view=windowsdesktop-8.0
$sync["Form"].TaskbarItemInfo = New-Object System.Windows.Shell.TaskbarItemInfo
$sync["Form"].taskbarItemInfo.ProgressState = "None"
# Set the titlebar
$sync["Form"].title = $sync["Form"].title + " " + $sync.version
# Set the commands that will run when the form is closed