mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 08:44:55 +08:00
56 lines
1.5 KiB
TypeScript
56 lines
1.5 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.bilibili.studio',
|
|
name: '必剪',
|
|
groups: [
|
|
{
|
|
enable: false,
|
|
key: 0,
|
|
name: '通知提示-通知权限请求',
|
|
desc: '会出现在创作、模板、我的页面,自动点击不开启',
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
quickFind: true,
|
|
rules: [
|
|
{
|
|
matches: 'TextView[text="开启设置"] - TextView[text="取消"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12867401', // 创作页面
|
|
},
|
|
{
|
|
matches: 'ImageView[id="com.bilibili.studio:id/iv_close"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12908880', // 模板页面
|
|
},
|
|
{
|
|
matches: 'ImageView[id="com.bilibili.studio:id/iv_push_tips_close"]',
|
|
snapshotUrls: 'https://i.gkd.li/i/12908886', // 我的页面
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '更新提示',
|
|
desc: '勾选"忽略"-点击"以后再说"',
|
|
quickFind: true,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
rules: [
|
|
{
|
|
key: 0,
|
|
name: '勾选"忽略"',
|
|
matches:
|
|
'[id="com.bilibili.studio:id/update_cbx_ignore_version"][checked=false]',
|
|
},
|
|
{
|
|
preKeys: 0,
|
|
name: '点击"以后再说"',
|
|
matches: '[id="com.bilibili.studio:id/update_btn_cancel"]',
|
|
},
|
|
],
|
|
snapshotUrls: 'https://i.gkd.li/i/13496049',
|
|
},
|
|
],
|
|
});
|