mirror of
https://github.com/linuxserver/docker-rdesktop.git
synced 2026-02-20 06:16:43 +08:00
Add wrappers
This commit is contained in:
parent
9165bf6e99
commit
56e8490846
7
root/defaults/usr/bin/exo-open
Executable file
7
root/defaults/usr/bin/exo-open
Executable 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
|
||||
10
root/defaults/usr/local/bin/wrapped-chromium
Executable file
10
root/defaults/usr/local/bin/wrapped-chromium
Executable 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
|
||||
Loading…
x
Reference in New Issue
Block a user