sync webtop logic

This commit is contained in:
thelamer 2024-01-17 12:51:54 -08:00 committed by Ryan Kuba
parent b12a6df34c
commit fea0b6c04f

View File

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