portal

rschmukler 2023-03-22T17:48:33.745739Z

Just got a new Mac and am working w/ an existing project that I had been developing in Linux. When I call portal/open it is now opening a browser tab to localhost:5678 in the default browser (Firefox). In linux it looked to be opening a stand-alone chromium w/o address bar etc. Is there anyway to get that behavior on Mac? The screenshot in the readme also looks like it popped open a nice minimal window on MacOS

djblue 2023-03-22T17:50:03.951329Z

I think you are looking for this https://cljdoc.org/d/djblue/portal/0.37.1/doc/guides/portal-standalone#portal-standalone

djblue 2023-03-22T17:51:11.074359Z

It's all chrome based so you will need to have one of https://github.com/djblue/portal/blob/master/src/portal/runtime/browser.cljc#L26-L30 installed as well

rschmukler 2023-03-22T17:51:24.710409Z

Awesome

rschmukler 2023-03-22T17:51:55.317159Z

Not sure how I got the behavior I have in linux, but this looks perfect! Thank you for the help 🙂

djblue 2023-03-22T17:53:07.483739Z

I think I only look for chrome on osx, but I look for both chrome and chromium on linux. Maybe that's the difference 🤔

rschmukler 2023-03-22T17:53:38.183179Z

Could be!