-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option to not add shortcuts to startmenu when installing a package #6031
base: develop
Are you sure you want to change the base?
Option to not add shortcuts to startmenu when installing a package #6031
Conversation
Running |
Thank you for the help! I made some additions to hopefully fix my oversights! After making these changes i observed some strange behavior, even if there is no startmenu shortcut in the actual folder windows still adds the program to the startmenu directly from the scoop/apps folder. I suspect this might be from registry tomfoolery that is made by the installer but i am not sure. If you have any ideas they would be greatly appreciated! Another thing i would like to mention is that shims also get added to the startmenu, i intend to not interfere with this since you can already manage shims through scoop shim and this option is intended to only affect the startmenu folder. |
Do you mean apps in the
Scoop doesn't add shim to the startmenu. By the way, you didn't update the |
Noted, thank you for the help!
I accidentally confused the startmenu for the search, sorry! I pushed a fix for the update and the import, hope it addresses all issues! Thank you for your patience with me, this is my second ever contribution with actual code so sorry for the mistakes. |
Description
Added an option to skip creating the startmenu shortcuts when installing a package.
Motivation and Context
This is really useful in a fer specific use cases, for example i have two scoop installations on my pc for various purposes. This flag really helps avoid conflicts between installs and also because the paths of my installs are manually managed this, again, helps a lot.
How Has This Been Tested?
Ran the flag on multiple packages installs.
The code is really quite simple and only interacts with a small portion of the codebase.
Checklist:
develop
branch.