Skip to content

Fix: core doesn't open setup url in browser#46

Merged
Maximus7474 merged 3 commits into
mainfrom
fix/setup-open-crashes-linux-distros
Jul 4, 2026
Merged

Fix: core doesn't open setup url in browser#46
Maximus7474 merged 3 commits into
mainfrom
fix/setup-open-crashes-linux-distros

Conversation

@Maximus7474

Copy link
Copy Markdown
Collaborator

Description

Issue was encountered by users running the panel on a server without a desktop, the open library tries to open the setup panel but fails as it doesn't find the xdg-open path causing it to error.
This PR addresses it and not only limits the feature to windows but also runs it in a try/catch block.


Tests

  • Tested in development mode
  • Passes typecheck
  • Builds & runs on Windows
  • Builds & runs on Linux

Additional Notes

@Maximus7474 Maximus7474 added the bug Something isn't working label Jul 4, 2026
FjamZoo
FjamZoo previously approved these changes Jul 4, 2026
-> mainly those who don't have xdg-open in their path (because don't
have a browser - because real server)
@Maximus7474 Maximus7474 force-pushed the fix/setup-open-crashes-linux-distros branch from d919019 to acd05dc Compare July 4, 2026 21:14
Comment thread apps/core/src/index.ts Outdated
@Maximus7474 Maximus7474 merged commit fde7428 into main Jul 4, 2026
6 checks passed
@Maximus7474 Maximus7474 deleted the fix/setup-open-crashes-linux-distros branch July 5, 2026 21:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants