mirror of
https://github.com/linuxserver/docker-vscodium.git
synced 2026-03-16 00:03:05 +08:00
commit
e5eb3080ec
@ -321,4 +321,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **17.01.24:** - Update wrapper scripts to cleanup and launch properly.
|
||||
* **02.04.23:** - Initial release.
|
||||
|
||||
@ -78,4 +78,5 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "17.01.24:", desc: "Update wrapper scripts to cleanup and launch properly." }
|
||||
- { date: "02.04.23:", desc: "Initial release." }
|
||||
|
||||
@ -2,8 +2,13 @@
|
||||
|
||||
BIN=/usr/bin/chromium-real
|
||||
|
||||
# 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
|
||||
if grep -q 'Seccomp:\t0' /proc/1/status; then
|
||||
${BIN} --password-store=basic "$@"
|
||||
else
|
||||
${BIN} --password-store=basic --no-sandbox --test-type "$@"
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
BIN=/usr/share/codium/bin/codium
|
||||
|
||||
# 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
|
||||
dbus-launch ${BIN} \
|
||||
"$@"
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user