Skip to content

Commit

Permalink
update chromium wrapper (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer authored Jan 18, 2024
1 parent adb8fe9 commit 03ce3db
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion root/usr/bin/chromium-browser
Original file line number Diff line number Diff line change
Expand Up @@ -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 "$@"
Expand Down

0 comments on commit 03ce3db

Please sign in to comment.