Update to use selkies
All checks were successful
Docker Push / build-and-push-image (push) Has been skipped
All checks were successful
Docker Push / build-and-push-image (push) Has been skipped
This commit is contained in:
15
root/usr/local/bin/wrapped-chromium
Normal file
15
root/usr/local/bin/wrapped-chromium
Normal file
@@ -0,0 +1,15 @@
|
||||
#! /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
|
||||
BIN
root/usr/local/bin/wrapped-chromium:Zone.Identifier
Normal file
BIN
root/usr/local/bin/wrapped-chromium:Zone.Identifier
Normal file
Binary file not shown.
Reference in New Issue
Block a user