fix(workflow): fix xhost error

This commit is contained in:
2025-06-13 13:24:49 +00:00
parent 455224ceb4
commit 3be150da53
2 changed files with 1 additions and 3 deletions

View File

@ -25,7 +25,7 @@
}
},
// From this line below are for qemu, so not that important.
"initializeCommand": "xhost +local:docker", // "xhost -local:docker" to disable
"initializeCommand": "[ -x \"$(command -v xhost)\" ] && xhost +local:docker || true", // "xhost -local:docker" to disable
"mounts": [
{
"source": "/tmp/.X11-unix",