diff --git a/README.md b/README.md index e134b05..c76798e 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/readme-vars.yml b/readme-vars.yml index 1878c34..6fdec0c 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -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." } diff --git a/root/usr/bin/chromium b/root/usr/bin/chromium index 5887b47..edc6d62 100755 --- a/root/usr/bin/chromium +++ b/root/usr/bin/chromium @@ -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 "$@" diff --git a/root/usr/bin/codium b/root/usr/bin/codium index dcb36e4..2b63d34 100755 --- a/root/usr/bin/codium +++ b/root/usr/bin/codium @@ -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