mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-15 17:30:37 -06:00
Update functions/private/Set-WinUtilTaskbarItem.ps1
Co-authored-by: Mr.k <mineshtine28546271@gmail.com>
This commit is contained in:
parent
b2dd522a90
commit
87c43ec87f
@ -50,7 +50,7 @@ function Set-WinUtilTaskbaritem {
|
||||
'Normal' { $sync["Form"].taskbarItemInfo.ProgressState = "Normal" }
|
||||
'Error' { $sync["Form"].taskbarItemInfo.ProgressState = "Error" }
|
||||
'Paused' { $sync["Form"].taskbarItemInfo.ProgressState = "Paused" }
|
||||
default { write-host "Invalid state" }
|
||||
default { throw "[Set-WinUtilTaskbarItem] Invalid state" }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user