Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions root/usr/bin/chromium
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ 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 "$@"
# Wayland check
if pgrep sway > /dev/null 2>&1; then
WAYLAND="--ozone-platform=wayland"
fi

${BIN} --password-store=basic ${WAYLAND} --no-sandbox --test-type "$@"