mirror of
https://github.com/wwiinnddyy/LanMountainDesktop.git
synced 2026-06-22 09:14:25 +08:00
Stamp release versions and harden launcher
Add automatic release version stamping and multiple launcher reliability improvements. The Release workflow now runs scripts/Set-ReleaseVersion.ps1 in build jobs to inject tag-derived Version/AssemblyVersion into project metadata; several .csproj/Directory.Build.props and app.manifest files were changed to use a dev placeholder. Introduced AppVersionProvider (and related runtime metadata) to centralize version resolution and updated DeploymentLocator to use it and to prefer package-root/version.json. Launcher startup flow was hardened: added startup success tracking, public-activation recovery path, improved success/fallback semantics, and related IPC handling. UI/UX fixes include OOBE entrance/exit animation improvements (scaling-aware, concurrent fade+translate) and minor window lifecycle reorder in DesktopShellHost. CommandContext now recognizes restart and key=value args. New DesktopTrayService and .trae spec files (spec, checklist, tasks) document shell/tray hardening work. Miscellaneous logging, comments and housekeeping edits across launcher and shared contracts to support the above.
This commit is contained in:
@@ -5,8 +5,10 @@ public enum StartupStage
|
||||
Initializing,
|
||||
LoadingSettings,
|
||||
LoadingPlugins,
|
||||
TrayReady,
|
||||
InitializingUI,
|
||||
ShellInitialized,
|
||||
BackgroundReady,
|
||||
DesktopVisible,
|
||||
ActivationRedirected,
|
||||
ActivationFailed,
|
||||
@@ -35,4 +37,10 @@ public static class LauncherIpcConstants
|
||||
public const string VersionEnvVar = "LMD_VERSION";
|
||||
|
||||
public const string CodenameEnvVar = "LMD_CODENAME";
|
||||
|
||||
public const string LaunchSourceOptionName = "launch-source";
|
||||
|
||||
public const string RestartParentPidOptionName = "restart-parent-pid";
|
||||
|
||||
public const string RestartPresentationOptionName = "restart-presentation";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user