Skip to content

Commit ef7b1b7

Browse files
6.4.0 - 新增 barcode/qrcode/shizuku 等模块; 适配高版本系统语言设置; 优化打包功能; 支持应用快捷方式; 修复屏幕旋转相关问题
1 parent 8fc9564 commit ef7b1b7

File tree

163 files changed

+4611
-1434
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+4611
-1434
lines changed

README.md

Lines changed: 58 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@
2929

3030
[Auto.js](https://github.com/hyb1996/Auto.js) 是一款 Android 平台支持 [无障碍服务](https://developer.android.com/guide/topics/ui/accessibility/service?hl=zh-cn) 的 JavaScript 自动化工具软件.
3131

32-
Auto.js 由 [hyb1996](https://github.com/hyb1996)Jan 27, 2017 初次发布, 于 Mar 13, 2020 停止维护, 最终版本名称为 `4.1.1 alpha2`.
32+
Auto.js 由 [hyb1996](https://github.com/hyb1996)`2017/01/27` 初次发布, 于 `2020/03/13` 停止维护, 最终版本名称为 `4.1.1 alpha2`.
3333

34-
AutoJs6 在 Auto.js 最终项目的基础上, 于 Dec 1, 2021 进行二次开发, 继续保持开源免费.
34+
AutoJs6 在 Auto.js 最终项目的基础上, 于 `2021/12/01` 进行二次开发, 继续保持开源免费.
3535

3636
基于 Auto.js 二次开发的开源项目 (以开发时间排序, 仅部分列举):
3737

3838
| 项目名称 | 应用名称 | 开发者 | 开发时间 |
3939
|:-----------------------------------------------------:|:----------------------:|:-----------------------------------------------------:|:------------:|
40-
| [Auto.js](https://github.com/TonyJiangWJ/Auto.js) | Auto.js M | [TonyJiangWJ](https://github.com/TonyJiangWJ) | Nov 21, 2019 |
41-
| [AutoX](https://github.com/kkevsekk1/AutoX) | Autox.js / Autox.js v6 | [kkevsekk1](https://github.com/kkevsekk1) | Jul 24, 2020 |
42-
| [AutoJs6](https://github.com/SuperMonster003/AutoJs6) | AutoJs6 | [SuperMonster003](https://github.com/SuperMonster003) | Dec 1, 2021 |
40+
| [Auto.js](https://github.com/TonyJiangWJ/Auto.js) | Auto.js M | [TonyJiangWJ](https://github.com/TonyJiangWJ) | `2019/11/21` |
41+
| [AutoX](https://github.com/kkevsekk1/AutoX) | Autox.js / Autox.js v6 | [kkevsekk1](https://github.com/kkevsekk1) | `2020/07/24` |
42+
| [AutoJs6](https://github.com/SuperMonster003/AutoJs6) | AutoJs6 | [SuperMonster003](https://github.com/SuperMonster003) | `2021/12/01` |
4343

4444
******
4545

@@ -133,19 +133,20 @@ AutoJs6 在 Auto.js 最终项目的基础上, 于 Dec 1, 2021 进行二次开发
133133

134134
# v6.4.0
135135

136-
###### 2023/10/25
136+
###### 2023/10/30
137137

138138
* `新增` ocr 模块支持 Paddle Lite 引擎 (by [TonyJiangWJ](https://github.com/TonyJiangWJ)) _[`pr #120`](http://pr.autojs6.com/120)_
139139
* `新增` 打包功能支持内置插件与外部插件两种打包方式 (by [LZX284](https://github.com/LZX284)) _[`pr #151`](http://pr.autojs6.com/151)_
140140
* `新增` WebSocket 模块 (参阅 项目文档 > [WebSocket](https://docs.autojs6.com/#/webSocketType))
141141
* `新增` barcode / qrcode 模块 (参阅 项目文档 > [条码](https://docs.autojs6.com/#/barcode) / [二维码](https://docs.autojs6.com/#/qrcode))
142-
* `新增` shizuku 模块 (参阅 项目文档 > [Shizuku](https://docs.autojs6.com/#/shizuku))
142+
* `新增` shizuku 模块 (参阅 项目文档 > [Shizuku](https://docs.autojs6.com/#/shizuku)) 及主页抽屉权限开关
143143
* `新增` device.rotation / device.orientation 等方法
144144
* `新增` 内部 Java 类支持 class 静态属性访问
145145
* `新增` 支持在安卓系统设置页面选择并切换应用语言 (安卓 13 及以上)
146146
* `新增` 支持设置页面添加或长按应用图标激活 [应用快捷方式](https://developer.android.com/guide/topics/ui/shortcuts?hl=zh-cn) , 可启动文档和设置等页面
147147
* `修复` 重新合并部分 PR (by [aiselp](https://github.com/aiselp)) 以解决部分脚本无法正常结束运行的问题 _[`pr #75`](http://pr.autojs6.com/75)_ _[`pr #78`](http://pr.autojs6.com/78)_
148148
* `修复` 打包应用无法使用 AutoJs6 新增 API 的问题 (by [LZX284](https://github.com/LZX284)) _[`pr #151`](http://pr.autojs6.com/151)_
149+
* `修复` 打包应用在系统夜间模式下的样式异常
149150
* `修复` VSCode 插件保存文件到本地时文件扩展名信息丢失的问题
150151
* `修复` 使用协程特性运行项目产生未捕获异常致使应用崩溃的问题
151152
* `修复` 重启或退出应用时浮动按钮无法记录其位置状态信息的问题
@@ -164,9 +165,12 @@ AutoJs6 在 Auto.js 最终项目的基础上, 于 Dec 1, 2021 进行二次开发
164165
* `优化` 日志活动页面发送功能支持条目数量过大时自动截取并作出提示
165166
* `优化` ocr 模块同时兼容 Google MLKit 及 Paddle Lite 引擎 (参阅 项目文档 > [光学字符识别](https://docs.autojs6.com/#/ocr?id=p-mode))
166167
* `优化` 提升无障碍服务自动启动的成功概率
168+
* `优化` Kotlin 注解处理由 kapt 迁移至 KSP
169+
* `优化` 构建工具支持 IntelliJ Idea EAP 版本
167170
* `优化` 构建工具自适应 Java 发行版本以尽量避免 "无效的发行版本" 问题
168171
* `优化` 构建工具优化 IDE 及相关插件的版本退级逻辑并增加版本预测能力
169-
* `优化` 部分 Kotlin 注解处理由 kapt 迁移至 KSP
172+
* `优化` 适配 VSCode 插件 1.0.7
173+
* `优化` 部分依赖或本地库版本调整 _[`CHANGELOG.md`](http://project.autojs6.com/blob/master/app/src/main/assets/doc/CHANGELOG.md#v640)_
170174

171175
# v6.3.3
172176

@@ -239,12 +243,12 @@ AutoJs6 在 Auto.js 最终项目的基础上, 于 Dec 1, 2021 进行二次开发
239243

240244
#### Android Studio 准备
241245

242-
下载 `Android Studio Giraffe | 2022.3.1 Patch 2` 版本 (按需选择其一):
246+
下载 `Android Studio Hedgehog | 2023.1.1 RC 1` 版本 (按需选择其一):
243247

244-
- [android-studio-2022.3.1.20-windows.exe](https://redirector.gvt1.com/edgedl/android/studio/install/2022.3.1.20/android-studio-2022.3.1.20-windows.exe) (1.1 GB)
245-
- [android-studio-2022.3.1.20-windows.zip](https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2022.3.1.20/android-studio-2022.3.1.20-windows.zip) (1.1 GB)
248+
- [android-studio-2023.1.1.23-windows.exe](https://redirector.gvt1.com/edgedl/android/studio/install/2023.1.1.23/android-studio-2023.1.1.23-windows.exe) (1.1 GB)
249+
- [android-studio-2023.1.1.23-windows.zip](https://redirector.gvt1.com/edgedl/android/studio/ide-zips/2023.1.1.23/android-studio-2023.1.1.23-windows.zip) (1.1 GB)
246250

247-
>: 上述版本发布时间为 2023928 日. 如需下载其他版本, 或上述链接已失效, 可访问 [Android Studio 发行版本归档](https://developer.android.com/studio/archive?hl=en) 页面.
251+
>: 上述版本发布时间为 20231017 日. 如需下载其他版本, 或上述链接已失效, 可访问 [Android Studio 发行版本归档](https://developer.android.com/studio/archive?hl=en) 页面.
248252

249253
安装或解压上述文件, 运行 Android Studio 软件 (如 `"D:\android-studio\bin\studio64.exe"`).
250254

@@ -267,11 +271,32 @@ Android SDK (安卓软件开发工具包)
267271
待相关资源下载并安装完毕, 点击 `Finish (完成)` 按钮.
268272
上述 `Android SDK Location (安卓软件开发工具包位置)` 处将自动完成路径填写, SDK 准备工作随即完成.
269273

274+
#### Android SDK Tools 准备
275+
276+
AutoJs6 需要使用部分 SDK 工具 (如 NDK 及 CMake).
277+
278+
>: 如果计算机系统已安装 AutoJs6 全部所需的 Android SDK Tools, 则可跳过此小节内容.
279+
280+
在 Android Studio 软件中使用快捷键 `CTRL + ALT + S` 打开设置页面:
281+
282+
```text
283+
Appearance & Behavior (外观与表现) ->
284+
System Settings (系统设置) ->
285+
Android SDK (安卓软件开发工具包) ->
286+
SDK Tools (SDK 工具) (位于右侧窗口)
287+
```
288+
289+
勾选 `Show Package Details (显示包详情)`, 依次点击 NDK 及 CMake, 确保相应版本的工具已勾选 (截至 20231030 日, NDK 所需版本为 `21.1.6352462`, CMake 所需版本为 `3.10.2`).
290+
291+
SDK 工具的版本信息位于 AutoJs6 项目根目录的 `version.properties` 文件中.
292+
270293
#### JDK 准备
271294

272-
AutoJs6 项目依赖的 `JDK (Java 开发工具包)` 发行版本不低于 `17`.
295+
AutoJs6 项目依赖的 `JDK (Java 开发工具包)` 发行版本不低于 `17`, 但建议不低于 `19`.
296+
297+
需额外留意, 截至 20231030 日, AutoJs6 暂不支持 JDK 最新版本 `21`.
273298

274-
>: 如果计算机系统已安装 JDK 且版本不低于 17, 则可跳过此小节内容.
299+
>: 如果计算机系统已安装 JDK 且版本满足上述要求, 则可跳过此小节内容.
275300

276301
JDK 可使用 IDE 直接下载, 或访问 [Oracle 网站](https://www.oracle.com/java/technologies/downloads/) 下载.
277302

@@ -348,36 +373,39 @@ Gradle
348373
- [Ant-Forest](https://github.com/SuperMonster003/Ant-Forest) - 蚂蚁森林能量自动收取脚本 by [SuperMonster003](https://github.com/SuperMonster003)
349374
- [autojs](https://github.com/e1399579/autojs) - Auto.js 实用脚本 by [e1399579](https://github.com/e1399579)
350375
- [autojsDemo](https://github.com/snailuncle/autojsDemo) - Auto.js 演示示例 by [snailuncle](https://github.com/snailuncle)
376+
- [autojs 相关仓库](https://github.com/topics/autojs) - GitHub 与 autojs 话题相关的全部仓库
351377

352378
******
353379

354380
### 贡献参与
355381

356382
******
357383

358-
感谢每一位参与 AutoJs6 项目开发的贡献人员.
384+
感谢每一位参与 AutoJs6 项目开发的贡献人员.
359385

360386
| 贡献人员 | 提交数 | 最近提交 |
361387
|:-----------------------------------------------------:|:-------------------------------------------------------------------------------:|:------------:|
362-
| [TonyJiangWJ](https://github.com/TonyJiangWJ) | [3](https://github.com/SuperMonster003/AutoJs6/commits?author=TonyJiangWJ) | Aug 29, 2023 |
363-
| [SuperMonster003](https://github.com/SuperMonster003) | [33](https://github.com/SuperMonster003/AutoJs6/commits?author=SuperMonster003) | Jul 21, 2023 |
364-
| [LZX284](https://github.com/LZX284) (Ai) | [4](https://github.com/SuperMonster003/AutoJs6/commits?author=LZX284) | Jul 20, 2023 |
365-
| [little-alei](https://github.com/little-alei) (抠脚本人) | [12](https://github.com/SuperMonster003/AutoJs6/commits?author=little-alei) | Jul 12, 2023 |
366-
| [aiselp](https://github.com/aiselp) | [6](https://github.com/SuperMonster003/AutoJs6/pulls?q=is%3Apr+author%3Aaiselp) | Jun 14, 2023 |
367-
| [LYS86](https://github.com/LYS86) (LYS) | [2](https://github.com/SuperMonster003/AutoJs6/commits?author=LYS86) | Jun 3, 2023 |
368-
369-
> 数据统计区间: Dec 1, 2021 - Oct 3, 2023.
370-
> 数据条目按 "最近提交" 列排序 (降序).
371-
> 新发起的暂未处理的 Pull Request, 将在合并处理后加入数据统计.
372-
> 部分贡献人员在 [GitHub Contributors](https://github.com/SuperMonster003/AutoJs6/graphs/contributors) 未能正常出现, 其提交记录为空, 仍可通过 [Pull Request](https://github.com/SuperMonster003/AutoJs6/pulls) 查看贡献记录.
388+
| [LZX284](https://github.com/LZX284) (Ai) | [13](https://github.com/SuperMonster003/AutoJs6/commits?author=LZX284) | `2023/10/09` |
389+
| [TonyJiangWJ](https://github.com/TonyJiangWJ) | [3](https://github.com/SuperMonster003/AutoJs6/commits?author=TonyJiangWJ) | `2023/08/29` |
390+
| [little-alei](https://github.com/little-alei) (抠脚本人) | [12](https://github.com/SuperMonster003/AutoJs6/commits?author=little-alei) | `2023/07/12` |
391+
| [aiselp](https://github.com/aiselp) | [6](https://github.com/SuperMonster003/AutoJs6/pulls?q=is%3Apr+author%3Aaiselp) | `2023/06/14` |
392+
| [LYS86](https://github.com/LYS86) (LYS) | [2](https://github.com/SuperMonster003/AutoJs6/commits?author=LYS86) | `2023/06/03` |
393+
394+
数据更新于 `2023/10/25`.
395+
396+
数据条目按 `最近提交` 降序排序.
397+
398+
新发起的暂未处理的 Pull Request, 将在合并处理后加入数据统计.
399+
400+
部分贡献人员在 [GitHub Contributors](https://github.com/SuperMonster003/AutoJs6/graphs/contributors) 未能正常出现, 其提交记录为空, 仍可通过 [Pull Request](https://github.com/SuperMonster003/AutoJs6/pulls) 查看贡献记录.
373401

374402
[//]: # (
375403
# --------------------------------------------------------------#
376404
# Before committing and pushing to the remote GitHub repository #
377405
# --------------------------------------------------------------#
378406
- CHANGELOG.md
379407
- Update entries for AutoJs6 by checking all changed files
380-
- Update entries for Gradle plugins
408+
- Update entries for Gradle plugins [ implementation ]
381409
- Update version name and released date
382410
- Append related GitHub issues to changelog entries
383411
- README.md
@@ -388,6 +416,9 @@ Gradle
388416
- Update android studio download links and version names
389417
- Remove the part like [ alpha / beta / ... ] of VERSION_NAME in version.properties
390418
- Update dependencies information for Android Gradle Plugin in the top-level build.gradle.kts
419+
- Update dependencies TypeScript declarations.
391420
- Re-generate documentation by running the python script
421+
- Check the two-way versions for AutoJs6 and VSCode ext, then publish the ext to Microsoft
422+
- Run Gradle task "app:assembleInrtRelease"
392423
- Build APK to determine the final VERSION_BUILD field
393424
)

0 commit comments

Comments
 (0)