diff options
Diffstat (limited to 'dot_local')
| -rwxr-xr-x | dot_local/bin/executable_snxctl-chromium | 21 | ||||
| -rw-r--r-- | dot_local/share/snx-rs/bin/executable_xdg-open | 10 |
2 files changed, 0 insertions, 31 deletions
diff --git a/dot_local/bin/executable_snxctl-chromium b/dot_local/bin/executable_snxctl-chromium deleted file mode 100755 index c97b026..0000000 --- a/dot_local/bin/executable_snxctl-chromium +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh -# snxctl-chromium: `snxctl connect` with the flatpak ungoogled-chromium as -# the SAML browser. Bypasses LibreWolf's loopback HTTPS-upgrade + LNA block -# that stop snx-rs's 127.0.0.1:7779 SAML callback from completing. -# -# snxctl runs `opener::open(url)` in-process; opener on Linux execs -# `xdg-open` first. We prepend a private bin dir containing only an -# `xdg-open` shim that flatpak-runs ungoogled-chromium. No daemon -# tweaks needed — the override is scoped to this snxctl invocation. -set -eu - -SHIM_DIR="$HOME/.local/share/snx-rs/bin" - -if [ ! -x "$SHIM_DIR/xdg-open" ]; then - printf '%s: missing xdg-open shim at %s\n' "${0##*/}" "$SHIM_DIR/xdg-open" >&2 - exit 1 -fi - -PATH="$SHIM_DIR:$PATH" -export PATH -exec snxctl connect "$@" diff --git a/dot_local/share/snx-rs/bin/executable_xdg-open b/dot_local/share/snx-rs/bin/executable_xdg-open deleted file mode 100644 index f646200..0000000 --- a/dot_local/share/snx-rs/bin/executable_xdg-open +++ /dev/null @@ -1,10 +0,0 @@ -#!/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 \ - "$@" |
