2024-09-26 14:08:43 +00:00

16 lines
381 B
Bash
Executable File

#! /bin/bash
BIN=/usr/bin/chromium-browser
# 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
${BIN} --no-first-run --password-store=basic "$@"
else
${BIN} --no-first-run --password-store=basic --no-sandbox --test-type "$@"
fi