aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/dot_local/share/snx-rs/bin/executable_xdg-open
blob: f646200eb0037bbc968f6ce3da3a334fe976e23f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# xdg-open shim that hands every URL to the flatpak ungoogled-chromium.
#
# Used by `snxctl connect` (via the snxctl-chromium wrapper) so the
# Check Point SAML callback lands in a browser that won't HTTPS-upgrade
# or LNA-block the loopback handoff to 127.0.0.1:7779. The wrapper
# prepends this directory to snxctl's PATH — this file does NOT shadow
# the system-wide xdg-open for any other process.
exec flatpak run io.github.ungoogled_software.ungoogled_chromium \
  "$@"