docker-webtop/root/usr/local/bin/wrapped-chromium
Ryan Kuba ff41a6f53b
Arch xfce selkies (#307)
* rebase arch-xfce to selkies set defaults

* forgot web browser path

* forgot aarch64
2025-06-17 14:51:13 +00:00

16 lines
343 B
Bash
Executable File

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