feat(update): integrate managed installs and recoverable in-app updates (#6168)
Add owner-aware Stable and Preview updates with explicit consent, verified release plans, protected process handoff and bounded service recovery. Keep configuration and conversations separate from program rollback. Include the compact About controls, Windows long-path support, native package recovery checks and optional macOS Dock lifecycle integration. Preserve documented guidance for installations owned by other managers. This code integration does not publish packages, enable signing or advance the public update channel. Co-authored-by: chengyongru <61816729+chengyongru@users.noreply.github.com>
This commit is contained in:
1 parent
76da55994b
commit
fbb61a373f
216 files changed
+27948
-1084
No files matched your search
@@ -2,7 +2,8 @@ import type { ReactNode } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
import { isCapabilitySection, type SettingsSectionKey } from "@/components/settings/contracts";
|
||||
import { SettingsGroup } from "@/components/settings/shared/SettingsControls";
|
||||
import { AboutSettingsLayout } from "@/components/settings/overview/AboutSettingsView";
|
||||
import { SettingsGroup, SettingsRow } from "@/components/settings/shared/SettingsControls";
|
||||
import { SkeletonStatus } from "@/components/settings/shared/SkeletonStatus";
|
||||
import { RUNTIME_CONFIG_FIELDS, RUNTIME_CONFIG_GROUPS, type RuntimeConfigPage } from "@/components/settings/system/runtime-config-fields";
|
||||
import { cn } from "@/lib/utils";
|
||||
@@ -94,14 +95,14 @@ export function SettingsSectionSkeleton({ section, showRestart = false }: { sect
|
||||
content = <RuntimeGroups page="advanced" />;
|
||||
break;
|
||||
case "about":
|
||||
content = <>
|
||||
<div className="flex flex-col items-center gap-4 py-6">
|
||||
<img src="/brand/nanobot_mark.svg" alt="" className="h-16 w-16" />
|
||||
<img src="/brand/nanobot_wordmark.svg" alt="" className="h-auto w-40 dark:brightness-150" />
|
||||
<div className="flex flex-col items-center gap-4"><div className="mt-0.5 flex h-5 items-center"><div className={cn(block, "h-3 w-20")} /></div><div className={cn(block, "h-9 w-36 rounded-full")} /></div>
|
||||
</div>
|
||||
content = <AboutSettingsLayout starLink={null} versionCheck={
|
||||
<SettingsGroup><SettingsRow title={<>
|
||||
<div className="flex h-5 items-center"><div className={cn(block, "h-3.5 w-20")} /></div>
|
||||
<div className="mt-1 flex h-5 items-center"><div className={cn(block, "h-3 w-24")} /></div>
|
||||
</>}><div className={cn(block, "settings-version-actions h-9 w-36 rounded-control")} /></SettingsRow></SettingsGroup>
|
||||
} links={
|
||||
<SettingsGroup>{[0, 1, 2].map((index) => <div key={index} className="settings-list-row flex items-center gap-3"><div className={cn(block, "h-4 w-4")} /><div className={cn(block, "h-3.5 w-28")} /></div>)}</SettingsGroup>
|
||||
</>;
|
||||
} />;
|
||||
break;
|
||||
}
|
||||
return <SkeletonStatus label={t("settings.status.loading")} className="settings-stack">{content}</SkeletonStatus>;
|
||||
|
||||
Reference in new issue
Block a user