mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 02:19:15 +00:00
fix(workflow): fix xhost error
This commit is contained in:
@ -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",
|
||||
|
2
.github/workflows/makefile.yml
vendored
2
.github/workflows/makefile.yml
vendored
@ -27,7 +27,6 @@ jobs:
|
||||
sudo mkdir -p /tmp/.X11-unix
|
||||
sudo mkdir -p /run/user/1000/pulse
|
||||
sudo touch /run/user/1000/pulse/native
|
||||
sudo apt install x11-xserver-utils
|
||||
|
||||
- name: Run make ci-setup in dev container
|
||||
if: steps.cache-cross.outputs.cache-hit != 'true'
|
||||
@ -134,7 +133,6 @@ jobs:
|
||||
sudo mkdir -p /tmp/.X11-unix
|
||||
sudo mkdir -p /run/user/1000/pulse
|
||||
sudo touch /run/user/1000/pulse/native
|
||||
sudo apt install x11-xserver-utils
|
||||
|
||||
- name: Build AMD64 Debug
|
||||
if: always()
|
||||
|
Reference in New Issue
Block a user