AI prompts
base on WeChatOpenDevTool 微信小程序强制开启开发者工具 ### **注意本库只能作为学习用途, 造成的任何问题与本库开发者无关, 如侵犯到你的权益,请联系删除。**
### **注意本库只能作为学习用途, 造成的任何问题与本库开发者无关, 如侵犯到你的权益,请联系删除。**
### **注意本库只能作为学习用途, 造成的任何问题与本库开发者无关, 如侵犯到你的权益,请联系删除。**
---
# 目录
[1. 支持版本列表](#%E5%A6%82%E4%BD%95%E6%9F%A5%E7%9C%8B%E5%BD%93%E5%89%8D%E8%BF%90%E8%A1%8C%E7%89%88%E6%9C%AC)
[2. 如何查看当前运行版本?](#%E5%A6%82%E4%BD%95%E6%9F%A5%E7%9C%8B%E5%BD%93%E5%89%8D%E8%BF%90%E8%A1%8C%E7%89%88%E6%9C%AC)
- [windows](#windows)
- [mac](#mac)
[3. 食用方法](#%E9%A3%9F%E7%94%A8%E6%96%B9%E6%B3%95)
- [开启小程序F12](#%E9%A3%9F%E7%94%A8%E6%96%B9%E6%B3%95)
- [开启微信内置浏览器F12](#%E5%BC%80%E5%90%AF%E5%BE%AE%E4%BF%A1%E5%86%85%E7%BD%AE%E6%B5%8F%E8%A7%88%E5%99%A8F12)
[4. 常见问题](#%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98)
---
## 支持版本列表
> 感谢志远大佬的WeChatOpenDevTool开源 代码只是把node改用python3重写,简单实现了一些自动化问题,重要代码都是原作者的。
| Windows 微信版本 | 小程序版本 | 是否为最新版 |
| ---------------- | ---------- | ------------ |
| | 11275_x64 | ✅ |
| | 11253_x64 | ✅ |
| | 11205_x64 | ✅ |
| | 11159_x64 | ✅ |
| 3.9.10.19_x64 | 9129_x64 | ✅ |
| 3.9.10.19_x64 | 9115_x64 | ✅ |
| 3.9.10.19_x64 | 8555_x64 | ❌ |
| 3.9.10.19_x64 | 9105_x64 | ❌ |
| 3.9.9.43_x64 | 8555_x64 | ❌ |
| 3.9.9.43_x64 | 9079_x64 | ❌ |
| 3.9.8.25_x64 | 8531_x64 | ❌ |
| 3.9.8.25_x64 | 8529_x64 | ❌ |
| 3.9.8.25_x64 | 8519_x64 | ❌ |
| 3.9.8.25_x64 | 8501_x64 | ❌ |
| 3.9.8.25_x64 | 8461_x64 | ❌ |
| 3.9.8.25_x64 | 8447_x64 | ❌ |
---
| Mac x64微信版本 | 是否为最新版 | x
| ---------------- | ------------ | ------------
| MacWechat/3.8.8(0x13080811) | ✅ | 源码运行
| MacWechat/3.8.8(0x13080812) | ✅ | 源码运行
## 如何查看当前运行版本?
### windows
![image](./docs/images/version0.jpg)
![image](./docs/images/version1.jpg)
![image](./docs/images/version2.jpg)
### mac
```bash
ps aux | grep 'WeChatAppEx' | grep -v 'grep' | grep "wmpf-mojo-handle"
```
## 食用方法
### 开启小程序F12
> ~~只支持windows版本微信~~,运行前先启动微信运行前先启动微信(建议小号,别被封了。。。)
1. 安装python3版本
2. 下载WeChatOpenDevTools-Python或直接下载编译好的exe
[WeChatOpenDevTools_64.exe](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/releases/)
安装依赖
```
pip3 install -r requirements.txt
```
运行✅
```
python main.py -x
```
![image](./docs/images/run.jpg)
![image](./docs/images/MG38.jpg)
---
### 开启微信内置浏览器F12
```python
python main.py -c
```
![1709657739316](./docs/images/demo1.png)
![1709657739316](./docs/images/demo2.png)
![image](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/assets/132129852/04053f33-3e88-437b-a5c6-48683c984641)
---
### 常见问题
* 无法修改中文
- yes
* 提示找不到版本或微信未运行❌
- 1. 请先看支持的微信版本和小程序版本
- 如果还有问题看:[微信版本和小程序版本都是符合要求的,但是仍然显示“未找到匹配版本的微信进程或微信未运行”](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/issues/38)
2. **如果微信版本相同小程序版本不同,就删除小程序版本目录并重启微信,直到刷出支持的小程序版本目录**
3. 最后回到上级目录,设置文件夹权限为只读,这样就能一直保持小程序版本一致
[image](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/assets/132129852/c2b793c3-6d81-424e-a167-3b1e584cef6f)
* 怎么回退版本?
- https://weixin.qq.com/cgi-bin/readtemplate?lang=zh_CN&t=weixin_faq_list&head=true
- https://github.com/tom-snow/wechat-windows-versions/releases
* mac版本闪退
- ~~[macOS版本](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/releases/)不能和windows版本一样随时hook小程序修改F12,只能先加载小程序后再hook(必须是有小程序缓存了,不然会闪退)~~
- 可以先启动多个需要调试的小程序后再运行软件然后再刷新小程序
* mac版本提示 [ Error: Unable to access process with pid xxx from the current user account](https://github.com/JaveleyQAQ/WeChatOpenDevTools-Python/issues/49)
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=javeleyqaq/WeChatOpenDevTools-Python&type=Date)](https://star-history.com/#javeleyqaq/WeChatOpenDevTools-Python&Date)
", Assign "at most 3 tags" to the expected json: {"id":"10043","tags":[]} "only from the tags list I provide: [{"id":77,"name":"3d"},{"id":89,"name":"agent"},{"id":17,"name":"ai"},{"id":54,"name":"algorithm"},{"id":24,"name":"api"},{"id":44,"name":"authentication"},{"id":3,"name":"aws"},{"id":27,"name":"backend"},{"id":60,"name":"benchmark"},{"id":72,"name":"best-practices"},{"id":39,"name":"bitcoin"},{"id":37,"name":"blockchain"},{"id":1,"name":"blog"},{"id":45,"name":"bundler"},{"id":58,"name":"cache"},{"id":21,"name":"chat"},{"id":49,"name":"cicd"},{"id":4,"name":"cli"},{"id":64,"name":"cloud-native"},{"id":48,"name":"cms"},{"id":61,"name":"compiler"},{"id":68,"name":"containerization"},{"id":92,"name":"crm"},{"id":34,"name":"data"},{"id":47,"name":"database"},{"id":8,"name":"declarative-gui "},{"id":9,"name":"deploy-tool"},{"id":53,"name":"desktop-app"},{"id":6,"name":"dev-exp-lib"},{"id":59,"name":"dev-tool"},{"id":13,"name":"ecommerce"},{"id":26,"name":"editor"},{"id":66,"name":"emulator"},{"id":62,"name":"filesystem"},{"id":80,"name":"finance"},{"id":15,"name":"firmware"},{"id":73,"name":"for-fun"},{"id":2,"name":"framework"},{"id":11,"name":"frontend"},{"id":22,"name":"game"},{"id":81,"name":"game-engine "},{"id":23,"name":"graphql"},{"id":84,"name":"gui"},{"id":91,"name":"http"},{"id":5,"name":"http-client"},{"id":51,"name":"iac"},{"id":30,"name":"ide"},{"id":78,"name":"iot"},{"id":40,"name":"json"},{"id":83,"name":"julian"},{"id":38,"name":"k8s"},{"id":31,"name":"language"},{"id":10,"name":"learning-resource"},{"id":33,"name":"lib"},{"id":41,"name":"linter"},{"id":28,"name":"lms"},{"id":16,"name":"logging"},{"id":76,"name":"low-code"},{"id":90,"name":"message-queue"},{"id":42,"name":"mobile-app"},{"id":18,"name":"monitoring"},{"id":36,"name":"networking"},{"id":7,"name":"node-version"},{"id":55,"name":"nosql"},{"id":57,"name":"observability"},{"id":46,"name":"orm"},{"id":52,"name":"os"},{"id":14,"name":"parser"},{"id":74,"name":"react"},{"id":82,"name":"real-time"},{"id":56,"name":"robot"},{"id":65,"name":"runtime"},{"id":32,"name":"sdk"},{"id":71,"name":"search"},{"id":63,"name":"secrets"},{"id":25,"name":"security"},{"id":85,"name":"server"},{"id":86,"name":"serverless"},{"id":70,"name":"storage"},{"id":75,"name":"system-design"},{"id":79,"name":"terminal"},{"id":29,"name":"testing"},{"id":12,"name":"ui"},{"id":50,"name":"ux"},{"id":88,"name":"video"},{"id":20,"name":"web-app"},{"id":35,"name":"web-server"},{"id":43,"name":"webassembly"},{"id":69,"name":"workflow"},{"id":87,"name":"yaml"}]" returns me the "expected json"