2024-02-13 17:54:48 -08:00

11 lines
295 B
Bash
Executable File

#! /bin/bash
BIN=/usr/lib/github-desktop/github-desktop
# Run normally on privved containers or modified un non priv
if grep -q 'Seccomp:.0' /proc/1/status; then
dbus-launch ${BIN} --password-store=basic "$@"
else
dbus-launch ${BIN} --password-store=basic --no-sandbox --test-type "$@"
fi