mirror of
https://github.com/AIsouler/GKD_subscription.git
synced 2025-12-20 00:35:17 +08:00
40 lines
1.1 KiB
TypeScript
40 lines
1.1 KiB
TypeScript
import { defineAppConfig } from '../types';
|
|
|
|
export default defineAppConfig({
|
|
id: 'com.google.android.apps.photos',
|
|
name: '谷歌相册',
|
|
groups: [
|
|
{
|
|
key: 0,
|
|
name: '更新提示-取消更新',
|
|
desc: '点击[以后再说]',
|
|
activityIds: [
|
|
'com.google.android.apps.photos.update.treatment.UpdateAppTreatmentPromoPageActivity',
|
|
],
|
|
quickFind: true,
|
|
rules: [
|
|
{
|
|
matches:
|
|
'[id=`com.google.android.apps.photos:id/negative_button`][text=`以后再说`]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13218940',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
key: 1,
|
|
quickFind: true,
|
|
name: '全屏广告-优惠提示',
|
|
desc: '点击X',
|
|
rules: [
|
|
{
|
|
activityIds:
|
|
'com.google.android.apps.photos.cloudstorage.paidfeatures.PaidFeaturesActivity',
|
|
matches:
|
|
'@[desc="转到上一层级"] < ViewGroup[id="com.google.android.apps.photos:id/toolbar"]',
|
|
snapshotUrls: 'https://i.gkd.li/import/13774247',
|
|
},
|
|
],
|
|
},
|
|
],
|
|
});
|