Launcher: Difference between revisions
Jump to navigation
Jump to search
Add native communication section |
Mention WebView2 |
||
Line 1: | Line 1: | ||
The launcher uses a WebView2 component to display webpages. | |||
== Native Communication == | == Native Communication == | ||
Revision as of 19:39, 20 April 2025
The launcher uses a WebView2 component to display webpages.
Native Communication
To communicate with native code, it uses window.chrome.webview.postMessage. This is shortened to window.external.user with this function:
window.external.user = function (e) { window.chrome.webview.postMessage(e); }
User Agent
Example: SQEXAuthor/2.0.0(Windows 7; ja-jp; 5fd2faa332)
Windows: "sqex" macOS: "macsqex PS4: "playstation 4" PS5: "playstation 5" XBox: "xbox"