1、工具下载
解压文件
2、确定小程序文件位置
- 点击电脑微信=》设置=》文件管理
- 点击 Applet 文件=》点击小程序会生成文件(防止找不到文件可删除没有的文件)
3、解密小程序包
- 启动程序
- 选择对应的小程序
4、安装依赖
- 启动cmd
- 执行命令
npm install
npm install esprima
npm install css-tree
npm install cssbeautify
npm install vm2
npm install uglify-es
npm install js-beautify
5、反编译小程序
node ./wuWxapkg.js 主包路径
node ./wuWxapkg.js 分包路径 -s=主包路径