gm 菜单响应
Some checks failed
test / Run tests (push) Failing after 8s
build / Build (push) Failing after 10s

This commit is contained in:
2025-04-08 13:59:08 +08:00
parent f26aecd10f
commit 42975d47cf
9 changed files with 208 additions and 145 deletions

View File

@@ -17,6 +17,7 @@ const server = new Server("inject", msg);
server.on("pageLoad", (data: { scripts: ScriptRunResouce[] }) => {
logger.logger().debug("inject start");
const runtime = new InjectRuntime(msg, data.scripts);
// 监听事件
const runtime = new InjectRuntime(server, msg, data.scripts);
runtime.start();
});