update wrapper with broader compatibility

This commit is contained in:
thelamer 2024-02-13 17:54:48 -08:00
parent 22be3413e9
commit 4ad0c841f2
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@ if ! pgrep chromium > /dev/null;then
fi
# Run normally on privved containers or modified un non priv
if grep -q 'Seccomp:\t0' /proc/1/status; then
if grep -q 'Seccomp:.0' /proc/1/status; then
${BIN} --password-store=basic "$@"
else
${BIN} --password-store=basic --no-sandbox --test-type "$@"

View File

@ -3,7 +3,7 @@
BIN=/usr/share/codium/bin/codium
# Run normally on privved containers or modified un non priv
if grep -q 'Seccomp:\t0' /proc/1/status; then
if grep -q 'Seccomp:.0' /proc/1/status; then
${BIN} \
"$@"
else

View File

@ -3,7 +3,7 @@
BIN=/usr/lib/github-desktop/github-desktop
# Run normally on privved containers or modified un non priv
if grep -q 'Seccomp:\t0' /proc/1/status; then
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 "$@"