Update functions/private/Set-WinUtilTaskbarItem.ps1

Co-authored-by: Mr.k <mineshtine28546271@gmail.com>
This commit is contained in:
MyDrift 2024-07-14 23:45:32 +02:00 committed by GitHub
parent b2dd522a90
commit 87c43ec87f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,7 @@ function Set-WinUtilTaskbaritem {
'Normal' { $sync["Form"].taskbarItemInfo.ProgressState = "Normal" } 'Normal' { $sync["Form"].taskbarItemInfo.ProgressState = "Normal" }
'Error' { $sync["Form"].taskbarItemInfo.ProgressState = "Error" } 'Error' { $sync["Form"].taskbarItemInfo.ProgressState = "Error" }
'Paused' { $sync["Form"].taskbarItemInfo.ProgressState = "Paused" } 'Paused' { $sync["Form"].taskbarItemInfo.ProgressState = "Paused" }
default { write-host "Invalid state" } default { throw "[Set-WinUtilTaskbarItem] Invalid state" }
} }
} }