2024-02-13 18:01:38 -08:00

14 lines
241 B
Bash
Executable File

#! /bin/bash
BIN=/usr/share/codium/bin/codium
# Run normally on privved containers or modified un non priv
if grep -q 'Seccomp:.0' /proc/1/status; then
dbus-launch ${BIN} \
"$@"
else
dbus-launch ${BIN} \
--no-sandbox \
"$@"
fi