Files
xpipe-selkies/root/usr/local/bin/wrapped-chromium
Super User b970c39576
All checks were successful
Docker Push / build-and-push-image (push) Has been skipped
Update to use selkies
2026-01-08 19:16:09 +10:00

16 lines
343 B
Bash

#! /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