feat(Google翻译): 登录弹窗 (#2662)

* feat(Google翻译): 登录弹窗

* chore(actions): check_format_lint

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

close #2632
This commit is contained in:
jiuqianyuan
2023-11-30 21:35:11 +08:00
committed by GitHub
parent c3ed2fe858
commit 276b676e5d

View File

@@ -0,0 +1,22 @@
import { defineAppConfig } from '../types';
export default defineAppConfig({
id: 'com.google.android.apps.translate',
name: 'Google翻译',
groups: [
{
enable: false,
key: 4,
name: '登录弹窗',
desc: '登录备份翻译记录',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
activityIds: 'com.google.android.apps.translate.TranslateActivity',
rules:
'Button[id="com.google.android.apps.translate:id/sign_in_button"] + [id="com.google.android.apps.translate:id/secondary_action_button"]',
snapshotUrls: 'https://i.gkd.li/import/13495796',
},
],
});