Skip to content

Linux app update was broken with new builds#2927

Merged
abose merged 2 commits into
mainfrom
ai
May 18, 2026
Merged

Linux app update was broken with new builds#2927
abose merged 2 commits into
mainfrom
ai

Conversation

@abose
Copy link
Copy Markdown
Member

@abose abose commented May 18, 2026

No description provided.

abose added 2 commits May 18, 2026 10:53
The previous quit-time install flow piped installer output into an
internal read-only modal. That worked for fully non-interactive scripts,
but any command needing stdin (most importantly sudo's password prompt)
would either silently fail or hang because the spawned child has no TTY.

Replace the internal log dialog with an external terminal emulator
(gnome-terminal -> konsole -> xterm -> x-terminal-emulator probe).
The terminal becomes the install UI: sudo and other interactive prompts
work natively, the user sees full coloured output, and the script can
pause on a "Press Enter to close..." line before exit.

quitTimeAppUpdateHandler is now minimal — call launchLinuxUpdater, emit
a 'launched' metric on success, and on launch failure show a blocking
error dialog (UPDATE_FAILED_TITLE + the error message + a "visit site"
link). The blocking dialog both surfaces the failure to the user and
gives the async Metrics.countEvent + logger.reportError calls time to
flush before Phoenix exits.

Drop the now-unused MAX_LOG_LINES const and the in-app log buffer.
@abose abose changed the title build: remove unused deps Linux app update was broken with new builds May 18, 2026
@sonarqubecloud
Copy link
Copy Markdown

@abose abose merged commit 280ad01 into main May 18, 2026
14 of 21 checks passed
@abose abose deleted the ai branch May 18, 2026 12:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant