mirror of
https://github.com/msojocs/wechat-web-devtools-linux.git
synced 2025-07-22 00:00:04 +08:00
docs: readme.md
This commit is contained in:
parent
7626d7c1d0
commit
388ecf88e6
@ -13,7 +13,7 @@ if [ -d ~/.config/wechat_devtools/WeappCache ];then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
EXTENSION1="--load-extension=$root_dir/nwjs/package.nw/js/ideplugin"
|
EXTENSION1="--load-extension=$root_dir/nwjs/package.nw/js/ideplugin"
|
||||||
EXTENSION2="--load-extension=$( echo ~ )/.config/wechat_devtools/WeappPlugin"
|
EXTENSION2=--load-extension=~/.config/wechat_devtools/WeappPlugin
|
||||||
INSPECTOR1="--custom-devtools-frontend=file://$root_dir/package.nw/js/ideplugin/inspector" # 要加file://指明为本地文件路径
|
INSPECTOR1="--custom-devtools-frontend=file://$root_dir/package.nw/js/ideplugin/inspector" # 要加file://指明为本地文件路径
|
||||||
INSPECTOR2="--custom-devtools-frontend=file://$( echo ~ )/.config/wechat_devtools/WeappPlugin/inspector/"
|
INSPECTOR2="--custom-devtools-frontend=file://$( echo ~ )/.config/wechat_devtools/WeappPlugin/inspector/"
|
||||||
USERDATADIR="$( echo ~ )/.config/wechat_devtools"
|
USERDATADIR="$( echo ~ )/.config/wechat_devtools"
|
||||||
|
22
readme.md
22
readme.md
@ -1,7 +1,26 @@
|
|||||||
|
|
||||||
|
|
||||||
|
<div align="center">
|
||||||
|
|
||||||
|
<img src="./res/icons/wechat-devtools.png" height="100px" width="100px"/>
|
||||||
|
|
||||||
|
<h3>微信开发者工具 Linux版</h3>
|
||||||
|
<br>
|
||||||
|
|
||||||
|
----
|
||||||
|
|
||||||
[](https://github.com/msojocs/wechat-devtools-linux/actions/workflows/release.yml)
|
[](https://github.com/msojocs/wechat-devtools-linux/actions/workflows/release.yml)
|
||||||
[](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html)
|
[](https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html)
|
||||||
[](https://nwjs.io/downloads/)
|
[](https://nwjs.io/downloads/)
|
||||||
[](https://nodejs.org/en/)
|
[](https://nodejs.org/en/)
|
||||||
|
|
||||||
|
这是微信开发者工具 Linux版
|
||||||
|
|
||||||
|
图标作者[dragonation](https://github.com/dragonation), 由于是基于其项目修改,未经授权。
|
||||||
|
|
||||||
|
<br>
|
||||||
|
</div>
|
||||||
|
|
||||||
# 项目说明
|
# 项目说明
|
||||||
|
|
||||||
本项目是一个完整的搭建Linux下可用的“微信开发者工具”的脚本和工具集,
|
本项目是一个完整的搭建Linux下可用的“微信开发者工具”的脚本和工具集,
|
||||||
@ -119,9 +138,6 @@ git clone https://github.com/msojocs/wechat-devtools-linux.git
|
|||||||
版本 1.02.2001191
|
版本 1.02.2001191
|
||||||

|

|
||||||
|
|
||||||
图标
|
|
||||||

|
|
||||||
|
|
||||||
# 免责声明
|
# 免责声明
|
||||||
|
|
||||||
微信开发者工具版权归腾讯公司所有,本项目旨在交流学习之用。如有不当之处,请联系本人,邮箱:jiyecafe@gmail.com
|
微信开发者工具版权归腾讯公司所有,本项目旨在交流学习之用。如有不当之处,请联系本人,邮箱:jiyecafe@gmail.com
|
||||||
|
@ -14,7 +14,7 @@ const parseFile = function (path) {
|
|||||||
|
|
||||||
content.name = "wechat_devtools";
|
content.name = "wechat_devtools";
|
||||||
// 开启调试,更新参数
|
// 开启调试,更新参数
|
||||||
content['chromium-args'] = content['chromium-args'].replace('--disable-devtools', '').replace('--ignore-gpu-blacklist', '--ignore-gpu-blocklist') + ' --mixed-context'
|
content['chromium-args'] = content['chromium-args'].replace('--disable-devtools', '--mixed-context').replace('--ignore-gpu-blacklist', '--ignore-gpu-blocklist')
|
||||||
content.window.height = content.window.width = 1000
|
content.window.height = content.window.width = 1000
|
||||||
fs.writeFileSync(path, JSON.stringify(content));
|
fs.writeFileSync(path, JSON.stringify(content));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user