Linux(Ubuntu)上安装微信开发者工具

1 、步骤: 安装git、wine->  clone 下来 ->  移动  -> 执行命令安装(此步还需要下载)

      开始:  安装git :sudo apt-get install git

                  安装wine:  点击查看

                  后续步骤:(就按流程走就行了):https://gitee.com/huamian/wechat_web_devtools#https://wiki.winehq.org/Ubuntu

                  END 

2、除此你还可能会遇到的问题:

1) wcc 和 wcsc 编译错误  /root/.config/wechat_web_devtools/WeappVendor/wcc.exe: 3: Syntax error: word unexpected (expecting ")")

执行

sudo apt-get install wine-binfmt
sudo update-binfmts --import /usr/share/binfmts/wine


2)  ./nw: error while loading shared libraries: libnw.so: cannot open shared object file: No such file or directory

  该错误是由 nw.js 下载失败所致. 删除缓存, 重新下载即可.

rm -rf /path/to/wechat_web_devtools/dist
rm -rf /tmp/wxdt_xsp
# 请务必等待执行完成
./bin/wxdt install
 

3)wine: /home/cpr/.wine is not owned by you

https://blog.csdn.net/s11show_163/article/details/109479320  (博主:sudo chown root:root -R ~/.wine 

原文地址:https://www.cnblogs.com/zjazn/p/14784816.html