Skip to content

fix(linux): detect Chrome/Chromium on Linux and enable safe restart#146

Open
DivInstance wants to merge 1 commit intoNoahCardoza:masterfrom
DivInstance:fix/linux-browser-detection
Open

fix(linux): detect Chrome/Chromium on Linux and enable safe restart#146
DivInstance wants to merge 1 commit intoNoahCardoza:masterfrom
DivInstance:fix/linux-browser-detection

Conversation

@DivInstance
Copy link

Summary

  • Adds Linux support to browser launching:
    • Detect Chrome/Chromium via PATH (google-chrome, google-chrome-stable, chromium, chromium-browser).
    • Adds Linux restart command (pkill -f {browser}).
    • Extends OS registry to include Linux.
    • Improves error message with actionable guidance.

Motivation

  • Linux users could not launch the browser automatically, causing failures when harvesting tokens.
  • This change directly addresses stability and usability on Linux.

Notes

  • No dependency changes required.
  • Maintains the minimal, platform-specific branching already used for macOS and Windows.

Closes #143

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.

Error on Linux

1 participant