mirror of
https://github.com/lucannez64/darling-lol.git
synced 2026-10-27 19:54:38 +00:00
LaunchServices now hands http, https and mailto URLs to the host desktop itself instead of NSWorkspace writing them to a spool that nothing in the normal workflow drains. It loads the host libsystemd through the ELF loader and calls xdg-desktop-portal OpenURI on the session bus, falling back to xdg-open in a transient systemd user unit, so the browser starts outside Darling's namespaces. LSGetApplicationForURL reports the host opener for these schemes because Electron checks for a handler before opening a link. NSWorkspace goes through LSOpenCFURLRef. Tested with a host-side D-Bus regression (79 checks) and in a fresh guest prefix through open(1) and NSWorkspace, both reaching the portal with the exact URL. Co-Authored-By: Claude Opus 5.5 <[email protected]>