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
@@ -71,11 +71,12 @@ Test-Trace 'PowerShell started'
|
||||
result = subprocess.run(
|
||||
["powershell.exe", "-NoProfile", "-NonInteractive", "-STA", "-EncodedCommand",
|
||||
base64.b64encode(script.encode("utf-16-le")).decode("ascii")],
|
||||
input=base64.b64encode(content) + b"\n", capture_output=True, timeout=15,
|
||||
# Cold C# compilation on a Windows runner is not the acknowledgement deadline.
|
||||
input=base64.b64encode(content) + b"\n", capture_output=True, timeout=60,
|
||||
)
|
||||
except subprocess.TimeoutExpired as exc:
|
||||
stages = (exc.stderr or b"").decode("utf-8", errors="replace")
|
||||
pytest.fail(f"Windows handoff exceeded 15s. Native stages:\n{stages}", pytrace=False)
|
||||
pytest.fail(f"Windows handoff exceeded 60s. Native stages:\n{stages}", pytrace=False)
|
||||
|
||||
assert result.returncode == (0 if opens else 1), result.stderr
|
||||
assert result.stdout == b"private;" + (b"1" if opens else b"") + b"removed=True"
|
||||
Reference in new issue
Block a user