diff --git a/README.md b/README.md index 17f6e29..61f9582 100644 --- a/README.md +++ b/README.md @@ -329,7 +329,8 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions -* **13.05.23:** - Rebase to Debian Bookworm. +* **08.01.24:** - Fix re-launch issue for chromium by purging temp files on launch. +* **29.12.23:** - Rebase to Debian Bookworm. * **13.05.23:** - Rebase to Alpine 3.18. * **01.04.23:** - Preserve arguments passed to Chromium and restructure to use wrapper. * **18.03.23:** - Initial release. diff --git a/readme-vars.yml b/readme-vars.yml index a2975e3..79e877d 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -76,7 +76,8 @@ app_setup_block: | # changelog changelogs: - - { date: "13.05.23:", desc: "Rebase to Debian Bookworm." } + - { date: "08.01.24:", desc: "Fix re-launch issue for chromium by purging temp files on launch." } + - { date: "29.12.23:", desc: "Rebase to Debian Bookworm." } - { date: "13.05.23:", desc: "Rebase to Alpine 3.18." } - { date: "01.04.23:", desc: "Preserve arguments passed to Chromium and restructure to use wrapper." } - { date: "18.03.23:", desc: "Initial release." } diff --git a/root/defaults/menu.xml b/root/defaults/menu.xml index 684e205..e259a62 100644 --- a/root/defaults/menu.xml +++ b/root/defaults/menu.xml @@ -2,6 +2,6 @@ /usr/bin/xterm -/usr/bin/chromium-browser +/usr/bin/wrapped-chromium diff --git a/root/usr/bin/wrapped-chromium b/root/usr/bin/wrapped-chromium index 010d01d..84794d0 100755 --- a/root/usr/bin/wrapped-chromium +++ b/root/usr/bin/wrapped-chromium @@ -2,6 +2,11 @@ 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:\t0' /proc/1/status; then ${BIN} \