From 394a391241682c3ef2bbbc601216063e97731a85 Mon Sep 17 00:00:00 2001 From: SuperMonster003 Date: Sun, 8 Dec 2024 00:32:28 +0800 Subject: [PATCH] =?UTF-8?q?6.6.1=20-=20Alpha2=20-=20=E4=BF=AE=E5=A4=8D=20a?= =?UTF-8?q?utomator.click/longClick=20=E5=8F=82=E6=95=B0=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E9=99=90=E5=88=B6=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changelog/lang_zh-Hans.json | 7 +- .idea/codeStyles/Project.xml | 9 +++ .../api/augment/automator/Automator.kt | 76 +++++++++++++++---- .../java/org/autojs/autojs/util/RhinoUtils.kt | 4 +- version.properties | 6 +- 5 files changed, 79 insertions(+), 23 deletions(-) diff --git a/.changelog/lang_zh-Hans.json b/.changelog/lang_zh-Hans.json index 14cfb9f0..7ce9300c 100644 --- a/.changelog/lang_zh-Hans.json +++ b/.changelog/lang_zh-Hans.json @@ -1,19 +1,20 @@ { "$data": { "v6.6.1": { - "released_date": "2024/12/07", + "released_date": "2024/12/08", "feature": [ "pinyin 模块, 用于汉语拼音转换 (参阅 项目文档 > [汉语拼音](https://docs.autojs6.com/#/pinyin))" ], "fix": [ "部分环境因回退版本过低而无法正常编译项目的问题", "调用不存在的方法时可能出现的 \"非原始类型值\" 异常", - "部分设备无法正常添加脚本快捷方式的问题 (试修) _[`issue #221`](http://issues.autojs6.com/221)_" + "部分设备无法正常添加脚本快捷方式的问题 (试修) _[`issue #221`](http://issues.autojs6.com/221)_", + "automator.click/longClick 方法参数类型限制错误 _[`issue #275`](http://issues.autojs6.com/275)_" ], "improvement": [ "脚本项目识别在 project.json 损坏情况下尽可能还原关键信息", "打包单文件时自动生成的包名后缀支持将简体中文自动转换为拼音", - "支持更多的包名前缀省略形式 (如 RecyclerView, Snackbar 等)" + "UI 元素及 className 相关选择器支持更多的包名前缀省略形式 (如 RecyclerView, Snackbar 等)" ] }, "v6.6.0": { diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index ee85bf28..c5b5c5e4 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -11,6 +11,10 @@