mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-02 19:13:30 -05:00
Update functions/private/Set-WinUtilTaskbarItem.ps1
Co-authored-by: Mr.k <mineshtine28546271@gmail.com>
This commit is contained in:
@ -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" }
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user