Resolve dev paths and fix splash UI thread

Compute a solutionRoot and expand development search paths (LanMountainDesktop and dev-test) in DeploymentLocator, add logging when scanning/finding hosts, and return distinct full paths. Ensure backward-compatible path checks. Fix cross-thread UI calls: invoke splashWindow.DismissAsync on the UI thread in LauncherFlowCoordinator, and make SplashWindow.DismissAsync ensure it runs on the UI thread before closing (simplified Close call). These changes improve development host discovery and prevent UI-thread access issues during shutdown.
This commit is contained in:
lincube
2026-04-24 10:05:30 +08:00
parent 9de93d2a4d
commit 28f41cd27c
3 changed files with 37 additions and 27 deletions

View File

@@ -955,7 +955,7 @@ internal sealed class LauncherFlowCoordinator
{
try
{
await splashWindow.DismissAsync().ConfigureAwait(false);
await Dispatcher.UIThread.InvokeAsync(() => splashWindow.DismissAsync());
}
catch (Exception ex)
{