File tree Expand file tree Collapse file tree 2 files changed +34
-5
lines changed
Expand file tree Collapse file tree 2 files changed +34
-5
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,7 @@ StepManager.isStop = true
213213` assists-web ` 是基础的web支持库,封装了webview js接口对web端调用的支持,但是对于web端本地开发调试不友好,需要了解android端相关知识
214214
215215## AssistsX脚本平台
216- 为了支持本地开发调试和动态化加载脚本,特地开发了脚本平台App:[ AssistsX] ( ) ,可支持脚本的本地安装,在线安装,局域网加载,远程加载
216+ 为了支持本地开发调试和动态化加载脚本,特地开发了脚本平台App:[ AssistsX] ( https://www.pgyer.com/SqGaCx8C ) ,可支持脚本的本地安装,在线安装,局域网加载,远程加载
217217
218218### [ 开发文档传送门] ( )
219219
Original file line number Diff line number Diff line change 1- # Web & Assists自动化开发文档
2- Assists可支持通过web编写自动化脚本,支持html+js或者直接编写vue/vite项目来实现自动化脚本,原理就是通过封装webview js接口与web进行交互。
1+ 本项目是[ AssistsX] ( https://www.pgyer.com/SqGaCx8C ) 自动化插件平台的示例项目,使用vite开发,通过调用[ AssistsX] ( https://www.pgyer.com/SqGaCx8C ) API实现在Android平台的自动化脚本
32
4- # 示例
5- 本项目就是通过vite开发的一个自动化示例项目,可直接下载编译运行,然后下载[ AssistsX] ( ) 通过局域网加载即可
3+ # 示例安装运行
4+
5+ ## 本地安装运行
6+
7+ ### 1. 安装[ AssistsX] ( https://www.pgyer.com/SqGaCx8C )
8+
9+ 安装前请先在手机安装[ AssistsX] ( https://www.pgyer.com/SqGaCx8C )
10+
11+ ### 2. 插件包传至手机
12+
13+ 下载本示例源码后,本地运行命令` npm run build ` 编译项目,编译完成后将` dist ` 文件夹压缩为` .zip ` 文件,然后将` .zip ` 文件传至手机。手机打开[ AssistsX] ( https://www.pgyer.com/SqGaCx8C ) ,点击立即安装,选择本地添加,然后选择传至手机的插件包即可完成安装
14+
15+ > 或者直接将编译打包好的` assistsx-simple.zip ` 传至手机也可以
16+
17+
18+ <img src =" https://github.com/user-attachments/assets/7dc27910-be61-473b-8900-f09c16ca5f46 " width =250 >
19+
20+ ## 局域网加载运行
21+
22+ ### 1. 安装[ AssistsX] ( https://www.pgyer.com/SqGaCx8C )
23+
24+ 加载运行前请先在手机安装[ AssistsX] ( https://www.pgyer.com/SqGaCx8C )
25+
26+ ### 2. 启动项目
27+
28+ 下载本示例源码后,本地运行命令` npm run dev ` 启动项目
29+
30+ ### 3. 加载插件
31+
32+ 打开[ AssistsX] ( https://www.pgyer.com/SqGaCx8C ) ,点击立即安装,选择** 扫描局域网** ,点击对应扫描到插件的 ** +** 号即可完成插件添加
33+
34+ <img src =" https://github.com/user-attachments/assets/d0f24763-266e-4e3c-bd64-a63be9e6c68c " width =250/ >
You can’t perform that action at this time.
0 commit comments