mirror of
https://github.com/linuxserver/docker-msedge.git
synced 2026-02-20 05:48:33 +08:00
update init to remove lockfiles if they exist
This commit is contained in:
parent
99baff6434
commit
d14dd0777e
@ -416,4 +416,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
|
||||
|
||||
## Versions
|
||||
|
||||
* **04.02.25:** - Clean up Singletons if container is shut down while windows are open.
|
||||
* **25.04.24:** - Initial release.
|
||||
|
||||
@ -108,4 +108,5 @@ init_diagram: |
|
||||
"msedge:latest" <- Base Images
|
||||
# changelog
|
||||
changelogs:
|
||||
- {date: "04.02.25:", desc: "Clean up Singletons if container is shut down while windows are open."}
|
||||
- {date: "25.04.24:", desc: "Initial release."}
|
||||
|
||||
@ -2,6 +2,11 @@
|
||||
|
||||
BIN=/usr/bin/microsoft-edge-real
|
||||
|
||||
# Cleanup
|
||||
if ! pgrep msedge > /dev/null;then
|
||||
rm -f $HOME/.config/microsoft-edge/Singleton*
|
||||
fi
|
||||
|
||||
# Run normally on privved containers or modified un non priv
|
||||
if grep -q 'Seccomp:.0' /proc/1/status; then
|
||||
${BIN} \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user