From 72c83f8a173c42f5fc4905e6ddcdc01233b57646 Mon Sep 17 00:00:00 2001 From: eeelester <11475842+eeelester@users.noreply.github.com> Date: Wed, 25 Sep 2024 00:17:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Diframe=E4=B8=8B?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E6=9D=83=E9=99=90=E5=8A=A0=E8=BD=BD=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + wxt.config.ts | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/.gitignore b/.gitignore index 4341efd..fe967cf 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ yarn-debug.log* yarn-error.log* pnpm-debug.log* lerna-debug.log* +DEVELOP.md node_modules .output diff --git a/wxt.config.ts b/wxt.config.ts index ff4a12a..b28c4b5 100644 --- a/wxt.config.ts +++ b/wxt.config.ts @@ -19,6 +19,12 @@ export default defineConfig({ build: { manifestGenerated(_,manifest: any) { manifest.action.default_title = '在B站看直播全屏时展示SC'; + manifest.web_accessible_resources = [ + { + "resources": [ "*.css" ], + "matches": [ "https://live.bilibili.com/*" ] + } + ] }, }, },