mirror of
https://github.com/linuxserver/docker-github-desktop.git
synced 2026-01-29 21:37:26 +08:00
update wrapper with broader compatibility
This commit is contained in:
parent
22be3413e9
commit
4ad0c841f2
@ -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 "$@"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 "$@"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user