null-dev / firefox-profile-switcher-connector

Native connector software for the 'Profile Switcher for Firefox' extension.
GNU General Public License v3.0
121 stars 25 forks source link

Workaround for removal of firefox.exe path env var #19

Open Invertex opened 1 month ago

Invertex commented 1 month ago

Added two fallback methods to get the parent process path, to account for Firefox's recent removal of the process environment variable MOZ_CRASHREPORTER_RESTART_ARG_0. As mentioned by the FF Dev here: https://github.com/null-dev/firefox-profile-switcher-connector/issues/14#issuecomment-2027470664

Haven't tested on Linux or Mac, but seems to work fine on Windows.