Launcher: Difference between revisions
Jump to navigation
Jump to search
Clarify browser types |
m Fix list |
||
Line 4: | Line 4: | ||
The launcher supports two browser engines: | The launcher supports two browser engines: | ||
* MSHTML (Internet Explorer 11) which is BrowserType 0, 1 | |||
* WebView2 (Chrome) which is BrowserType 2 | |||
== Debugging == | == Debugging == |
Revision as of 20:30, 20 April 2025
The launcher basically display webpages.
Browser Engines
The launcher supports two browser engines:
- MSHTML (Internet Explorer 11) which is BrowserType 0, 1
- WebView2 (Chrome) which is BrowserType 2
Debugging
Run C:\Windows\System32\F12\IEChooser.exe while the launcher is running.
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"
Build Paths
"c:\\ws\\ver_720_winbuild\\branches\\ver_720\\trunk\\prog\\patch\\Build\\LauncherWin"