menuinst
menuinst copied to clipboard
Installation of MacOS apps fail when app already exists
Checklist
- [X] I added a descriptive title
- [X] I searched open reports and couldn't find a duplicate
What happened?
On Windows and Linux, shortcuts are overwritten when they already exist. On MacOS, menuinst
exits with an error because it cannot create the Resources
directory inside the app. This is due to the following lines: https://github.com/conda/menuinst/blob/main/menuinst/platforms/osx.py#L107-L108
for path in paths:
path.mkdir(parents=True, exist_ok=False)
The MacOS app should be removed before installing a new one to make the behavior consistent.
Conda Info
No response
Conda Config
No response
Conda list
No response
Additional Context
No response