Closed wmorgue closed 2 months ago
Hi! Sadly there isn't a way to launch it in Safari just yet, at least not natively. You can use the dummy
browser type and open the URL manually for now (see the contribution docs) - this is a hydrapp limitation.
The reason that Safari doesn't work just yet is that it doesn't have an equivalent of Chrome's application mode. Chrome, Edge, Brave, Firefox, Epiphany (Safari for Linux) etc. all support this, but Safari doesn't allow us to do that.
In your opinion as a user - what would you prefer we do for this use case? We can't use Safari without an application mode in production because we wouldn't have a way of knowing that the user closed the browser, so the app "server" (which does the connection tracing etc.) would leak and run in the background. Is a more descriptive error message maybe an option, maybe with a link to download one of the supported browser engines (Firefox/Chrome/Edge/Brave/Epiphany etc.)?
If you happen to know how to create a Safari web app programmatically, that would be optimal, but I haven't figured that out yet.
what would you prefer we do for this use case
The quickest thing to implement is to show a alert or view about an unsupported browser (fatalError(ā¦)
is something unexpected, like index out of bounds in Array).
I tried to find hidden url schemes for Safari, but couldn't find anything.
The quickest thing to implement is to show a alert or view about an unsupported browser
That's a pretty good idea, yeah currently I just have a catch-all handler for these irrecoverable things during browser launches. I'll try and get this done in the next few days, maybe I'll add a reference for where to download them as well ^^
FYI I'm now working in this: https://github.com/pojntfx/hydrapp/commit/b8a8bbed2a4a4d71bf62a95843d99a8db8416c2e
The basic idea is to format this specific error in a more human fashion, add download links to supported browsers, and allow manual configuration of an unsupported browser if no pre-installed browser can be found.
Sounds great! If you need help with testing, let me know
This is fully implemented now in upstream Hydrapp, with a full custom browser selection screen & links to download options. I'm working on preparing a new release over there now and will pull it here once it's ready.
Safari "Add to Doc" is same as what Chrome's application mode refers to ?
@wmorgue Support for this should have landed in the latest release of Connmapper now! The hydrapp release was a bit delayed since I had to work out some docs issues first. Would you mind re-trying on your system to confirm that the configuration/download dialog shows up now?
@pojntfx Yep. Tested it, works great, good job š¤š„
Thanks for testing! š
Hi š Saw your post on reddit and immediately downloaded the latest macOS version from: https://pojntfx.github.io/connmapper//dmg/main/com.pojtinger.felicitas.connmapper.main.darwin.dmg I got a fatal error when launching it:
Is there an option to use
/Applications/Safari.app/
? Safari version17.4.1
(19618.1.15.11.14), macOS14.4.1
(23E224), M2 SoC