mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-07 00:02:14 +08:00
update: readme
This commit is contained in:
parent
474efb2863
commit
9549385d20
@ -13,7 +13,7 @@
|
|||||||
文件路径: `package.nw/core.wxvpkg.ext/284af385b4ef6206861fea66a2452277.js`
|
文件路径: `package.nw/core.wxvpkg.ext/284af385b4ef6206861fea66a2452277.js`
|
||||||
定位字符串:`nw.Window.open`
|
定位字符串:`nw.Window.open`
|
||||||
在回调函数中添加:
|
在回调函数中添加:
|
||||||
```
|
```javascript
|
||||||
Object.keys(window).forEach(key=>{
|
Object.keys(window).forEach(key=>{
|
||||||
if(!e.window[key]){
|
if(!e.window[key]){
|
||||||
/*没有就添加*/
|
/*没有就添加*/
|
||||||
|
31
readme.md
31
readme.md
@ -26,10 +26,11 @@
|
|||||||
|
|
||||||
本项目是一个完整的搭建Linux下可用的“微信开发者工具”的脚本和工具集,
|
本项目是一个完整的搭建Linux下可用的“微信开发者工具”的脚本和工具集,
|
||||||
用于在Linux下的GNOME桌面上搭建可以持续更新和使用的“微信开发者工具”。
|
用于在Linux下的GNOME桌面上搭建可以持续更新和使用的“微信开发者工具”。
|
||||||
|
|
||||||
本项目修改自:https://github.com/dragonation/wechat-devtools/
|
本项目修改自:https://github.com/dragonation/wechat-devtools/
|
||||||
|
|
||||||
# 项目地址
|
# 项目地址
|
||||||
* https://github.com/msojocs/wechat-devtools-linux
|
* https://github.com/msojocs/wechat-web-devtools-linux
|
||||||
|
|
||||||
# 进度
|
# 进度
|
||||||
|
|
||||||
@ -54,11 +55,11 @@
|
|||||||
|
|
||||||
# CLI支持
|
# CLI支持
|
||||||
|
|
||||||
在项目的`bin`目录中有`wechat-devtools-cli`命令,是微信开发者工具的命令行支持Linux版本。相关资料可以在[微信CLI命令行V2](https://developers.weixin.qq.com/miniprogram/dev/devtools/cli.html)上找到。
|
在项目的 `bin` 目录中有 `wechat-devtools-cli` 脚本,是微信开发者工具的命令行支持 的Linux版本。相关资料可以在[微信CLI命令行V2](https://developers.weixin.qq.com/miniprogram/dev/devtools/cli.html)上找到。
|
||||||
|
|
||||||
# 使用方法
|
# 使用方法
|
||||||
1. [在线安装](#在线安装)
|
1. [在线安装](#在线安装)
|
||||||
2. 可以在本项目的[Release](https://github.com/msojocs/wechat-devtools-linux/releases)中,寻找已经构筑好了的软件包,下载使用。
|
2. 可以在本项目的[Release](https://github.com/msojocs/wechat-web-devtools-linux/releases)中,寻找已经构筑好了的软件包,下载使用。
|
||||||
如果`Release`版本存在问题,可以尝试[Continuous](https://github.com/msojocs/wechat-web-devtools-linux/releases/tag/continuous)版本,这是基于`master`分支的最新提交构建的,会及时修复一些 bug,但也可能会带来新的 bug。
|
如果`Release`版本存在问题,可以尝试[Continuous](https://github.com/msojocs/wechat-web-devtools-linux/releases/tag/continuous)版本,这是基于`master`分支的最新提交构建的,会及时修复一些 bug,但也可能会带来新的 bug。
|
||||||
3. 你可以 [自行构建](#自行构建)
|
3. 你可以 [自行构建](#自行构建)
|
||||||
|
|
||||||
@ -82,7 +83,7 @@
|
|||||||
2. 请安装 `docker` `docker-compose`
|
2. 请安装 `docker` `docker-compose`
|
||||||
3. 克隆本项目:
|
3. 克隆本项目:
|
||||||
```
|
```
|
||||||
git clone https://github.com/msojocs/wechat-devtools-linux.git
|
git clone https://github.com/msojocs/wechat-web-devtools-linux.git
|
||||||
```
|
```
|
||||||
4. 在本地项目目录中执行如下的语句,构筑开发者工具:
|
4. 在本地项目目录中执行如下的语句,构筑开发者工具:
|
||||||
```
|
```
|
||||||
@ -105,7 +106,7 @@
|
|||||||
另外 `7z` 旧版解压可能存在问题(未测试最低版本号,比如:ubuntu16.04 自带的不行),请参考 `Dockerfile`
|
另外 `7z` 旧版解压可能存在问题(未测试最低版本号,比如:ubuntu16.04 自带的不行),请参考 `Dockerfile`
|
||||||
3. 克隆本项目:
|
3. 克隆本项目:
|
||||||
```
|
```
|
||||||
git clone https://github.com/msojocs/wechat-devtools-linux.git
|
git clone https://github.com/msojocs/wechat-web-devtools-linux.git
|
||||||
```
|
```
|
||||||
4. 在本地项目目录中执行如下的语句,构筑开发者工具:
|
4. 在本地项目目录中执行如下的语句,构筑开发者工具:
|
||||||
```
|
```
|
||||||
@ -125,7 +126,7 @@
|
|||||||
3. 修复了nwjs上关于Menu的段错误,确保最新版本可以正常启动 (by dragonation);
|
3. 修复了nwjs上关于Menu的段错误,确保最新版本可以正常启动 (by dragonation);
|
||||||
4. 在构筑过程中会重新编译node_modules,确保原生模块可以在Linux上正确运行;
|
4. 在构筑过程中会重新编译node_modules,确保原生模块可以在Linux上正确运行;
|
||||||
5. 下载更新可以支持断点再续,并使用了taobao国内的npm源,加速下载(稳定性待测试)。
|
5. 下载更新可以支持断点再续,并使用了taobao国内的npm源,加速下载(稳定性待测试)。
|
||||||
6. 纯 Linux 支持
|
6. 纯 Linux 支持,使用 nodejs 实现模拟官方编译器
|
||||||
|
|
||||||
# 后续计划
|
# 后续计划
|
||||||
|
|
||||||
@ -157,14 +158,16 @@
|
|||||||

|

|
||||||
|
|
||||||
# 感谢赞赏支持
|
# 感谢赞赏支持
|
||||||
1. *喆
|
| 赞赏人 | 赞赏金额 |
|
||||||
2. shaoxp
|
|-------|---------|
|
||||||
3. .
|
| Milder | 50.00¥ |
|
||||||
4. IvesSSa
|
| [Starrah](https://github.com/Starrah) | 50.00¥ |
|
||||||
5. icepie
|
| . | 20.00¥ |
|
||||||
6. zyk-miao
|
| [icepie](https://github.com/icepie) | 20.00¥ |
|
||||||
7. Starrah
|
| 李喆 | 10.00¥ |
|
||||||
8. CoryByte
|
| shaoxp | 5.00¥ |
|
||||||
|
| [zyk-miao](https://github.com/zyk-miao) | 5.00¥ |
|
||||||
|
| [CoryByte](https://github.com/Corybyte) | 5.00¥ |
|
||||||
|
|
||||||
# 免责声明
|
# 免责声明
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user