mirror of
https://github.com/linuxserver/docker-webtop.git
synced 2025-07-21 12:45:19 +02:00
update chromium wrapper (#210)
This commit is contained in:
parent
c74f86103e
commit
4c56d1549a
@ -2,8 +2,13 @@
|
|||||||
|
|
||||||
BIN=/usr/bin/chromium
|
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
|
# 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 "$@"
|
${BIN} --password-store=basic "$@"
|
||||||
else
|
else
|
||||||
${BIN} --password-store=basic --no-sandbox --test-type "$@"
|
${BIN} --password-store=basic --no-sandbox --test-type "$@"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user