gluon
gluon copied to clipboard
feat: add startup config for different paths on Windows
What is changed
- Add
Firefox Developer Editionstartup path on Windows - Add paths for browsers (including Firefox, Chrome and their versions) installed for current user in AppData folder
Why
- Firefox has multiple minor versions besides Nightly and Release, for example,
Firefox Developer EditionandFirefox Beta. So it is necessary to add those particular startup paths to allow users with only one of those minor versions installed to use it. - On Windows, if user clicked 'Cancel' when the UAC window popped up on installation, Firefox and Chrome would be installed as
for current user only, under%LOCALAPPDATA%. So I think we should search those paths as well.
Thanks for the PR! Could you use an array instead of new/different keys (see the Linux paths)?
Closing as Windows paths have been rewritten internally which includes local appdata path generation, and more.