Own Win32 startup flow in runtime layer

This commit is contained in:
2026-06-17 16:26:18 +02:00
parent 3230da243a
commit b311afedd2
6 changed files with 152 additions and 84 deletions

View File

@@ -70,6 +70,17 @@ What is already real:
- `pp_app_core`
Latest slice:
- `src/platform_windows/windows_runtime_flow.*` now owns the live Win32
composition-edge startup flow instead of leaving that dense startup/session
body inside `src/platform_windows/windows_runtime_shell.cpp`.
- The new bound runtime-flow owner now binds the live `MainWindowSession`,
performs the Win32 startup preflight (`initLog`, DPI/shcore, stylus init,
runtime data dir, retained input setup, exception handler, WMI probe, and
`App::create()`), handles the existing `convert` / `-vrmode` mode switch,
and always tears down the bound app/session through one destructor path.
- `src/platform_windows/windows_runtime_shell.cpp` is down to a thin Windows
entry wrapper over `run_main_application_flow(...)`, so the composition edge
is smaller and the repeated bind/release exit paths are gone from the shell.
- The orphaned `src/platform_legacy/legacy_platform_services.*` shim and its
`src/platform_legacy/legacy_platform_fallback_behavior.h` helper are now
deleted from the repo.