Skip to content

Commit

Permalink
(chocolatey#3520) Deprecate Install-ChocolateyPinnedTaskBarItem
Browse files Browse the repository at this point in the history
Deprecate the Install-ChocolateyPinnedTaskBarItem command to prepare for
it to be removed in v3.
  • Loading branch information
corbob committed Sep 26, 2024
1 parent dd1de8f commit 0d4a172
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Creates an item in the task bar linking to the provided path.
.NOTES
Does not work with SYSTEM, but does not error. It warns with the error
message.
message. This command is deprecated and will be removed in version 3.0.0.
.INPUTS
None
Expand Down Expand Up @@ -53,6 +53,7 @@ Install-ChocolateyExplorerMenuItem
)

Write-FunctionCallLogMessage -Invocation $MyInvocation -Parameters $PSBoundParameters
Write-Warning "Install-ChocolateyPinnedTaskBarItem has been deprecated in v2.4.0 and will be removed in v3.0.0."

try {
if (Test-Path($targetFilePath)) {
Expand Down

0 comments on commit 0d4a172

Please sign in to comment.