You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, we are forced to use the icon of whatever is set as the "executablePath" as that is what is passed in for the argument -iconLocation.
What if we would like to use a different icon located somewhere else or one that is not the executable we are using for the shortcut we are creating?
This came up when exploring ways to create a shortcut for cyberchef as I noticed that I am forced into providing a path to google chrome as an executablePath argument in order for the function to use it's icon.
I propose having a separate argument for IconLocation that we can pass into VM-Install-Shortcut ourselves which would alleviate this issue.
Steps to Reproduce
Try to create a console app shortcut using VM-Install-Shortcut with an executable used that is different than the icon you would like the shortcut to have.
The text was updated successfully, but these errors were encountered:
What's the problem?
Right now, we are forced to use the icon of whatever is set as the "executablePath" as that is what is passed in for the argument
-iconLocation
.What if we would like to use a different icon located somewhere else or one that is not the executable we are using for the shortcut we are creating?
This came up when exploring ways to create a shortcut for
cyberchef
as I noticed that I am forced into providing a path togoogle chrome
as anexecutablePath
argument in order for the function to use it's icon.I propose having a separate argument for
IconLocation
that we can pass intoVM-Install-Shortcut
ourselves which would alleviate this issue.Steps to Reproduce
Try to create a console app shortcut using
VM-Install-Shortcut
with an executable used that is different than the icon you would like the shortcut to have.The text was updated successfully, but these errors were encountered: