mirror of
https://github.com/linuxserver/docker-github-desktop.git
synced 2026-01-16 02:01:36 +08:00
11 lines
295 B
Bash
Executable File
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
|