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

Configure Profile Switcher to Work with Forks on MacOS #11

Open cobcobs opened 1 year ago

cobcobs commented 1 year ago

I am trying to configure this extension to work with LibreWolf on MacOS. I tried following #8 but I am unable to get it to work. I think I am symlinking the ax.nd.profile_switcher_ff.json file properly with the following command:

sudo ln -sf "$(brew ls -l firefox-profile-switcher-connector | grep -i ax.nd.profile_switcher_ff.json | head -n1)" "/Library/Application Support/librewolf/NativeMessagingHosts"/ax.nd.profile_switcher_ff.json

However, I do not think I am able to configure the profile switcher using the second steps you outlined in that issue:

mkdir -p ~/.config/firefoxprofileswitcher
echo '
{
    "browser_profile_dir": "'"$HOME"'/Application\ Support/Librewolf",
    "browser_binary": "/Applications/LibreWolf.app/Contents/MacOS/librewolf"
}
' > ~/.config/firefoxprofileswitcher/config.json

I found that it still points to the directory for Firefox profiles. Is there a different directory for the firefoxprofileswitcher on MacOS?

ungeschneuer commented 1 year ago

Did you find any solution?

cobcobs commented 1 year ago

@ungeschneuer Sadly I did not :(

leshaburlak commented 3 weeks ago

I think Macos applications might expect the config in application support or smth. Asked the question here https://github.com/null-dev/firefox-profile-switcher/issues/108