Skip to content

fix(setup): handle missing browser opener on WSL/headless - #3

Merged
w4coder merged 1 commit into
mainfrom
security/channels-patch
Apr 26, 2026
Merged

w4coder merged 1 commit into
mainfrom
security/channels-patch

Conversation

@w4coder

@w4coder w4coder commented Apr 26, 2026

Copy link
Copy Markdown
Owner

Detect WSL and try wslview -> cmd.exe -> xdg-open. Catch the spawn 'error' event so a missing opener prints a manual-visit hint instead of crashing the wizard (and killing the running server) with an unhandled ENOENT from spawn xdg-open.

Detect WSL and try wslview -> cmd.exe -> xdg-open. Catch the spawn
'error' event so a missing opener prints a manual-visit hint instead
of crashing the wizard (and killing the running server) with an
unhandled ENOENT from spawn xdg-open.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@w4coder
w4coder merged commit ca0dfbb into main Apr 26, 2026
1 check failed
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