wechat-web-devtools-linux/bin/wechat-devtools-docker
2020-09-05 04:38:59 +08:00

15 lines
290 B
Bash
Executable File

#!/bin/bash
xhost +
docker run \
-t -i --rm \
-v /tmp/.X11-unix:/tmp/.X11-unix:rw \
-v $HOME/.Xauthority:/root/.Xauthority \
-e DISPLAY=unix:0.0 \
-e GDK_SCALE \
-e GDK_DPI_SCALE \
--privileged \
wechat-devtools /opt/wechat/devtools/bin/docker-entrypoint