feat(虎牙直播): 直播间悬浮广告 (#2224)

close #2212
This commit is contained in:
jiuqianyuan 2023-11-18 23:52:45 +08:00 committed by GitHub
parent fb54abbb6f
commit 3bf46f7011
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,6 +7,7 @@ export default defineAppConfig({
{
key: 0,
name: '开屏广告',
quickFind: true,
matchTime: 10000,
actionMaximum: 1,
resetMatch: 'app',
@ -30,6 +31,7 @@ export default defineAppConfig({
'com.duowan.kiwi.homepage.Homepage', // 缺少快照
'com.duowan.kiwi.immersepage.impl.ImmersePageActivity',
],
quickFind: true,
matchLauncher: true,
rules:
'[id="com.duowan.kiwi:id/hyui_dialog_button_positive"][text="我知道了"]',
@ -38,6 +40,7 @@ export default defineAppConfig({
{
key: 2,
name: '直播间悬浮广告',
quickFind: true,
activityIds: 'com.duowan.kiwi.liveroom.ChannelPage',
rules: [
{
@ -48,6 +51,14 @@ export default defineAppConfig({
'https://i.gkd.li/import/12901044',
],
},
{
key: 1,
matches: '[id="com.duowan.kiwi:id/game_header_close"]',
snapshotUrls: [
'https://i.gkd.li/import/13395604',
'https://i.gkd.li/import/13395606',
],
},
],
},
],