Skip to content

Buddy 1.1.2: the update helper really starts on every PC - #5

Merged
juw12 merged 1 commit into
mainfrom
fix/updater-helper-launch
Nov 8, 2026
Merged

juw12 merged 1 commit into
mainfrom
fix/updater-helper-launch

Conversation

@juw12

@juw12 juw12 commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Root cause of a live failure: the swap helper was started with DETACHED_PROCESS and on this PC such a console process never runs, so Buddy quit for an update that never came. Side-by-side on the same PC: DETACHED never ran, CREATE_NO_WINDOW ran at once. Now launch_hidden() uses a hidden console and leaves the job object if it can. New test goes through the real launch path (the old tests ran the helper directly, which is why they missed it). The island also shows download progress.

…HED_PROCESS (1.1.2)

Seen live on a real PC: Buddy downloaded and self-tested 1.1.1, started the helper and quit - but a PowerShell started with DETACHED_PROCESS never ran, so nothing was swapped and Buddy stayed closed. A side-by-side test on the same PC: DETACHED -> never ran, CREATE_NO_WINDOW -> ran at once.

- launch_hidden(): CREATE_NO_WINDOW + new process group, tries to break away from the job first

- test runs a real hidden PowerShell through launch_hidden and waits for its mark

- island shows download progress (25 percent steps)
@juw12
juw12 merged commit 3a706c9 into main Nov 8, 2026
2 checks passed
@juw12
juw12 deleted the fix/updater-helper-launch branch November 8, 2026 05:14
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.

2 participants