mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
* feat(必剪):版本更新 * chore(actions): check_format_lint --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> close #2635
55 lines
1.6 KiB
TypeScript
55 lines
1.6 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.bilibili.studio',
|
|
name: '必剪',
|
|
groups: [
|
|
{
|
|
enable: false,
|
|
key: 0,
|
|
name: '通知权限请求',
|
|
desc: '会出现在创作、模板、我的页面,自动点击不开启。',
|
|
quickFind: true,
|
|
activityIds: 'com.bcut.homepage.widget.MainActivity',
|
|
rules: [
|
|
{
|
|
matches: 'TextView[text="开启设置"] - TextView[text="取消"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12867401', // 创作页面
|
|
},
|
|
{
|
|
matches: 'ImageView[id="com.bilibili.studio:id/iv_close"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12908880', // 模板页面
|
|
},
|
|
{
|
|
matches: 'ImageView[id="com.bilibili.studio:id/iv_push_tips_close"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/12908886', // 我的页面
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 3,
|
|
name: '版本更新',
|
|
desc: '勾选【忽略】-点击【以后再说】',
|
|
quickFind: true,
|
|
matchTime: 10000,
|
|
actionMaximum: 1,
|
|
resetMatch: 'app',
|
|
activityIds: 'com.bcut.homepage.widget.MainActivity',
|
|
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/import/13496049',
|
|
},
|
|
],
|
|
});
|