Repository navigation
(#1480) Fix desktop shortcut in Chocolatey - #1481
Merged
Merged
Conversation
Prior to version 1.0.0 of Chocolatey the Install-DesktopLink helper function could be used to create shortcuts. This function has been deprecated and now removed from Chocolatey as of version 1.0.0 This commit refactors the chocolateyInstall.ps1 script to use the supported Install-ChocolateyShortcut function to provide the functionality. Additionally, package parameters have been introduced to allow folks installing from the chocolatey package to opt-out of having a desktop icon created for them. This additional functionality, including usage, has been documented in the nuspec file description, so that it is available for people looking at the package on the Chocolatey Community Repository.
Contributor
steviecoaster
marked this pull request as draft
March 29, 2022 17:39
Contributor
Author
|
Marking this draft so I can thoroughly test the changes here and make sure I've got everything right. Once I'm happy I'll remove draft status so it can go through review. |
Contributor
Author
|
Tested, and working. Marking ready for review |
steviecoaster
marked this pull request as ready for review
March 29, 2022 17:55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prior to version 1.0.0 of Chocolatey the Install-DesktopLink helper function
could be used to create shortcuts. This function has been deprecated and now
removed from Chocolatey as of version 1.0.0
This commit refactors the chocolateyInstall.ps1 script to use the supported
Install-ChocolateyShortcut function to provide the functionality.
Additionally, package parameters have been introduced to allow folks installing
from the chocolatey package to opt-out of having a desktop icon created for them.
This additional functionality, including usage, has been documented in the nuspec
file description, so that it is available for people looking at the package on the
Chocolatey Community Repository.
Fixes #1480