Add wrappers

This commit is contained in:
TheSpad 2023-05-18 20:11:40 +01:00
parent 9165bf6e99
commit 56e8490846
No known key found for this signature in database
GPG Key ID: 08F06191F4587860
2 changed files with 17 additions and 0 deletions

7
root/defaults/usr/bin/exo-open Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
if [ "${2}" == "WebBrowser" ]; then
/usr/bin/xdg-open /usr/share/applications/chromium.desktop
else
/usr/bin/exo-open-real "$@"
fi

View File

@ -0,0 +1,10 @@
#!/bin/bash
BIN=/usr/bin/chromium-browser
# 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