GithubHelp home page GithubHelp logo

cuitymiko / wechat_web_devtools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cytle/wechat_web_devtools

0.0 1.0 0.0 118.75 MB

微信开发者工具(微信小程序)linux完美支持

Shell 0.08% HTML 62.09% JavaScript 11.19% Batchfile 0.01% CSS 0.45% Python 25.39% Makefile 0.25% C++ 0.53% C 0.02%

wechat_web_devtools's Introduction

Linux微信web开发者工具

linux 下使用微信web开发者工具.

wx-dev-tools v-1.02.1803210 nw.js v-0.24.4

Description

Linux微信web开发者工具, 可在 linux 桌面环境跑起 微信开发者工具,
原理是 微信开发者工具 本质是 nw.js 程序, 把它移植到 linux 下没大问题.
负责编译 wxmlwxsswccwcsc (可能还有其他功能),
则利用 wine 来跑即可.

欢迎提PR~

Changelog

安装 Wine

请先安装 Wine
Ubuntu 为例: https://wiki.winehq.org/Ubuntu

下载并安装 微信web开发者工具

  1. 下载项目
git clone https://github.com/cytle/wechat_web_devtools.git
  1. 进入目录
cd wechat_web_devtools
  1. 自动下载最新 nw.js , 同时部署目录 ~/.config/微信web开发者工具/
./bin/wxdt install

运行

./bin/wxdt

错误排除

./bin/wxdt install 报错失败

./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

参考

wccwcsc 编译错误

执行

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

完成后, 点击 编译 即可.

参考:

  1. cytle#66 (comment)
  2. cytle#56 (comment)

更新到最新版

方法 1: 直接从当前项目源码 进行 更新 (稳定, 推荐)

git pull origin

方法 2: 使用腾讯原始安装程序 进行 自助复制更新 (及时, 自行折腾)

: 如果抽风了, 可以尝试使用 git reset --hard 等操作, 还原到最初的状态.

  1. 安装 脚本依赖 httpie

以下是 Ubuntu 安装方法, 其它参考 https://httpie.org/doc#linux

sudo apt install httpie
  1. 执行更新, 自动下载最新 Windows x64 版开发者工具, 并且使用wine安装.  
./bin/update_package_nw.sh

Tips

  • 下载完毕后, 会自动弹出 Wine 启动的 安装界面, 直接安装即可.  
  • 安装完毕之后, 不要勾选 立即启动, 同时删除桌面的 Wine 生成的 快捷方式.
  • 等待脚本成功执行完成, 即表示升级成功.
  • 运行没问题,欢迎PR

截图

截图1

调试界面

上面项目来自wechat-v2ex

卸载

  1. 关闭 微信web开发者工具
  2. 项目文件夹下运行 ./bin/wxdt uninstall (删除桌面图标、微信web开发者工具配置目录),
    开发者工具配置文件, 所有工程和登录信息均会消失
  3. 删除项目文件夹

其它

免责声明

微信开发者工具版权归腾讯公司所有,本项目旨在交流学习之用。如有不当之处,请联系本人,邮箱:[email protected]

wechat_web_devtools's People

Contributors

cytle avatar imknown avatar aiwhj avatar levinit avatar mmhunter avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.