This commit is contained in:
IndieKKY
2024-10-06 13:49:01 +08:00
parent 296469ebf1
commit 7df231443e

View File

@@ -66,6 +66,7 @@ class InjectMessaging {
name: 'bilibili-inject',
})
this.portMessageHandler = new Layer1Protocol<L2ReqMsg, L2ResMsg>(this.messageHandler, this.port)
//握手
this.portMessageHandler.sendMessage({
from: 'inject',
method: MESSAGE_TO_EXTENSION_HANDSHAKE,