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
@@ -156,6 +156,11 @@ export function useSettingsController({
|
||||
|
||||
const runtimeConfigState = useRuntimeConfigSettings(settings, client, applyPayload);
|
||||
|
||||
const markUpdateInstalled = useCallback(() => {
|
||||
setPendingRestartSections((current) => ({ ...current, runtime: true }));
|
||||
setSettings((current) => current ? { ...current, requires_restart: true } : current);
|
||||
}, []);
|
||||
|
||||
const closeProviderOAuthFlow = useCallback((cancelPending = true) => {
|
||||
const flow = providerOAuthFlowRef.current;
|
||||
providerOAuthFlowRef.current = null;
|
||||
@@ -456,6 +461,7 @@ export function useSettingsController({
|
||||
systemState,
|
||||
systemActions,
|
||||
activeSection,
|
||||
markUpdateInstalled,
|
||||
runtimeConfigState,
|
||||
closeProviderOAuthFlow,
|
||||
error,
|
||||
|
||||
Reference in new issue
Block a user