mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
15 lines
290 B
Bash
Executable File
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
|
|
|