Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Add support for rndebugger: uri scheme on Linux #726

Merged
merged 2 commits into from
Jul 16, 2023

Conversation

crloz
Copy link
Contributor

@crloz crloz commented Oct 16, 2022

Support rndebugger: URI scheme on Linux (via xdg-open):

  • on Linux, use app.requestSingleInstanceLock()
  • when opened the first time, the uri is read from precess.argv and the port in the URI takes precedence

Usage with Expo:

$ REACT_DEBUGGER="unset ELECTRON_RUN_AS_NODE && xdg-open 'rndebugger://set-debugger-loc?port=19000' ||" yarn start

Packagers for distributions not officially supported should add MimeType=x-scheme-handler/rndebugger; to the .desktop file

@jhen0409
Copy link
Owner

Thanks!

@jhen0409 jhen0409 merged commit 3580468 into jhen0409:master Jul 16, 2023
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