feat: 小牛电动-更新提示-固件更新弹窗 #1014

This commit is contained in:
AIsouler
2025-06-26 14:42:03 +08:00
parent 4a4f35bad2
commit 5739abb1f5

28
src/apps/com.niu.cloud.ts Normal file
View File

@@ -0,0 +1,28 @@
import { defineGkdApp } from '@gkd-kit/define';
export default defineGkdApp({
id: 'com.niu.cloud',
name: '小牛电动',
groups: [
{
key: 1,
name: '更新提示-固件更新弹窗',
desc: '点击[以后再说]',
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
rules: [
{
fastQuery: true,
activityIds: '.main.MainActivityNew',
matches: [
'[text="发现新固件"][visibleToUser=true]',
'[text="以后再说"][visibleToUser=true]',
],
exampleUrls: 'https://e.gkd.li/b486cc0b-3ac2-4be3-a38d-c16c952f4fce',
snapshotUrls: 'https://i.gkd.li/i/20919078',
},
],
},
],
});