首先下载wine
sudo apt-get install wine -y
查看版本
wine --version
直接去网站下载包
https://gitcode.net/mirrors/cytle/wechat_web_devtools
解压
进入目录
cd wechat_web_devtools
执行
sudo ./bin/wxdt install
之后会在 主目录.config下自动生成wechat_web_devtools
赋予权限
sudo chmod -R 777 ~/.config/wechat_web_devtools/
cd bin
执行wxdt文件
sudo ./wxdt