Browsers-software / browsers

Open the right browser at the right time
https://browsers.software
Apache License 2.0
107 stars 11 forks source link

Since updating to 0.5.2, Arc does not open automatically based on rules in config.json #139

Closed jonnyborbs closed 9 months ago

jonnyborbs commented 9 months ago

Describe the bug This was working before in 0.5.1 with the profile support removed per advice in https://github.com/Browsers-software/browsers/issues/94#issuecomment-1923228107

Now, my configured links that should direct to Arc bring up the app selection pop-up. Selecting Arc does work. But they aren't automatically being routed there.

An example rule:

    {
      "source_app": null,
      "url_pattern": "*://docs.google.com/**",
      "opener": null,
      "profile": "/Applications/Arc.app/Contents/MacOS/Arc#Default",
      "incognito": false
    },

System:

jonnyborbs commented 9 months ago

I figured this out by using the GUI rule editor to update a single rule and checking the diff between it and my old ones:

The profile_order stanza needed to be updated to remove the #Default suffix on the Arc line item

And each individual rule needed its profile updated to change from .../MacOS/Arc/#Default to .../MacOS/Arc/#

liias commented 9 months ago

Indeed, the profile changed to /Applications/Arc.app/Contents/MacOS/Arc, because profile support was removed for Arc.

Btw, also the profile nad incognito fields are now deprecated and opener is used instead. This, and some upcoming versions of Browsers will still support profile, and automatically update it to opener if you edit any Rule via Settings UI.