menuinst
menuinst copied to clipboard
Document how to uninstall (i.e. "remove") shortcuts
Checklist
- [X] I added a descriptive title
- [X] I searched open reports and couldn't find a duplicate
What happened?
It took me some time to find out how to uninstall shortcuts without having to manually remove them from C:\Users\my_login\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
, on Windows
I created a json file with the turtle Minimal example and I successfully installed the shortcuts using $ python -c "from menuinst.api import install; install('./turtle.json')"
, as described in Usage
I then tried to uninstall this but
- I did not find anything useful when looking for uninstall
- I found by chance that all I had to do was just use:
$ python -c "from menuinst.api import remove; remove('./turtle.json')"
- I did not find anything useful when looking for remove
- It is not completely intuitive to use
remove
and notuninstall
, when you have installed withinstall
This can probably be added very easily to the documentation
It would also be useful to be able to remove a menu by just giving the menu name (instead of the json file that you may have lost), but I understand it would not be very safe, on probably would not remove the shortcuts on the desktop
Additional Context
No response