diff --git a/dist/我的订阅.json b/dist/我的订阅.json new file mode 100644 index 0000000..e63ead3 --- /dev/null +++ b/dist/我的订阅.json @@ -0,0 +1,54 @@ +{ + "key": 1, + "name": "我的订阅", + "version": "1.0.0_stable", + "versionCode": 3, + "global": { + "name": "全局测试", + "rules": [ + { + "key": 0, + "selector": "[text='记账']", + "action": "click", + "actionDelay": 50 + } + ], + "apps": [ + { + "id": "tech.cqxqg.hhjapp", + "enable": true + } + ] + }, + "apps": [ + { + "packageName": "tech.cqxqg.hhjapp", + "name": "小新记账", + "version": "1.0.0", + "rules": [ + { + "key": 0, + "selector": "[text='记账']", + "action": "click" + }, + { + "key": 1, + "selector": "[desc='备注'] + Button + EditText", + "action": "click", + "actionDelay": 50, + "activityId": "tech.cqxqg.hhjapp.MainActivity", + "classId": "" + }, + { + "key": 2, + "selecotr": "[desc='备注'] + Button + EditText]", + "preAction": 1, + "action": "setText", + "args": "自动填充内容", + "activityId": "tech.cqxqg.hhjapp.MainActivity", + "classId": "" + } + ] + } + ] +} \ No newline at end of file diff --git a/subscription.py b/subscription.py index 54c31bf..85af38c 100644 --- a/subscription.py +++ b/subscription.py @@ -2,9 +2,9 @@ import importlib.util import os from global_rules import global_rules -key = -1 -name = "Test" -version = "0.0.2_beta" +key = 1 +name = "我的订阅" +version = "1.0.0_stable" version_code = 3