chore(window): avoid missing windowId

This commit is contained in:
SiriusXT 2026-01-04 15:18:57 +08:00
parent 31c70938d6
commit 9e8d89a170

View File

@ -13,7 +13,8 @@ function injectGlobals() {
uncheckedWindow.$ = $;
uncheckedWindow.WebSocket = () => {};
uncheckedWindow.glob = {
isMainWindow: true
isMainWindow: true,
windowId: "main"
};
}