feat(软件包安装程序): 自动跳过协议 (#3040)

This commit is contained in:
xcz1997 2023-12-15 19:19:31 +08:00 committed by GitHub
parent f4a402ea15
commit 42d6d339cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,18 +5,25 @@ export default defineAppConfig({
name: '软件包安装程序', name: '软件包安装程序',
groups: [ groups: [
{ {
enable: false, name: '跳过安全使用协议',
key: 1, key: 2,
name: '请求开启反恶意软件提示弹窗', desc: '自动点击略过并关闭反恶意软件协议',
activityIds: [ enable: true,
'pl.solidexplorer.SolidExplorer',
'com.android.packageinstaller.activity.InstallerActivity',
],
rules: [ rules: [
{
key: 1,
matches: ['[text *="略过"]'],
snapshotUrls: ['https://i.gkd.li/import/13255641'],
},
{ {
key: 0, key: 0,
matches: ['[text^="是否打开反恶意软件"]', '[text="取消"]'], matches: ['[text^="是否打开反恶意软件"]', '[text="取消"]'],
snapshotUrls: 'https://i.gkd.li/import/13233686', snapshotUrls: ['https://i.gkd.li/import/13233686'],
},
{
key: 2,
matches: ['[text^="打开应用程序保护?"]', '[text="取消"]'],
snapshotUrls: ['https://i.gkd.li/import/13650528'],
}, },
], ],
}, },