Open bsless opened 2 years ago
As a temporary workaround I symlinked chromium to brave
@bsless This sounds like a good inclusion. Would you mind submitting a PR with the proposed change?
@djblue Gladly, though I don't have OSX or Windows so I won't be able to test it there, but I'll give it a best effort. Also, would you like to add any action or setting for default browser? A user might have one installed but prefer portal opens with the other.
No worries, I can test out those platforms. That's a good point about different browser choices. What do you think the option should look like?
open
can take an option for preferred browser which would be looked for first, :portal.launcher/browser
?
In the same vain, an option to save these configuration and have portal automatically search for them would also be nice. in *nix systems you can place a file in XDG_CONFIG_PATH, with windows it's always a riddle. Then users won't need to specify browser, color, or other preferred options.
Thinking some more about browsers, especially if you want to make it "future proof", it might be a good idea to have some data spec for browsers and how portal consumes them. Things like the executable name on each operating system, extra paths to search in, supported operating systems, web engine, etc. That might make life easier when the next user wants to add specific support for Edge, Opera, or a new browser (optimistic, I know)
I'm really enjoying Portal :). I would also like something like this: I would like to be able for Portal to open in Arc browser on Mac, which is another Chromium based browser. Now I let it open in Chrome, copy the URL and close Chrome.
Hello, I'm starting to use Portal and encountered a slight inconvenience, it does not recognize Brave browser Brave is another chromium based browser which can probably be used just like the other executables found by
get-chrome-bin
, and supports launching in app mode. The linux executable is calledbrave-browser
, not sure regarding other operating systems.Thanks