scripts/desktop-update.ps1 moves to scripts/desktop-update/windows.ps1 (a compat forwarder stays at the old path for one asar/checkout skew cycle) and gains the shim: scripts/desktop-update/ui.html rendered in a chromeless Edge app window, fed done|error over a loopback /progress endpoint. The page is #75895's hand-off screen ported verbatim (Fourier Flow loader, one title, one line, OS light/dark, charcoal dark seeds); failure is the terse card pointing at hermes debug share. The WinForms card stays as the no-Edge fallback, same shape. Salvaged from the web-shell spike: TcpListener runspace server, Edge --app spawn with throwaway profile, degradation ladder, -SelfTestUi. Co-authored-by: Teknium <127238744+teknium1@users.noreply.github.com>
12 lines
593 B
PowerShell
12 lines
593 B
PowerShell
# COMPAT FORWARDER — do not add logic here.
|
|
#
|
|
# The hand-off moved to scripts/desktop-update/windows.ps1. This forwarder
|
|
# exists for exactly one consumer: an already-installed Desktop whose asar
|
|
# is one update behind and still spawns scripts/desktop-update.ps1 (see
|
|
# resolveUpdateScriptHandoff in apps/desktop/electron/updater-process.ts).
|
|
# Without it, that Desktop would silently fall back to the frozen staged
|
|
# Tauri binary for one update cycle — the exact rot this script family
|
|
# exists to escape.
|
|
& (Join-Path $PSScriptRoot "desktop-update\windows.ps1") @args
|
|
exit $LASTEXITCODE
|