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

use protocol links to open different windows of the app #429

Open
cameronsutter opened this issue Apr 15, 2020 · 0 comments
Open

use protocol links to open different windows of the app #429

cameronsutter opened this issue Apr 15, 2020 · 0 comments

Comments

@cameronsutter
Copy link
Owner

could be useful for e.g. opening the verify window with parameters, or the template picker/dashboard with parameters

in main:
protocol.registerHttpProtocol('plottr', (req, cb) => { log.info('got url', req.url) })

in renderer
<a href='plottr://internal_link'>do the thing</a>

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

No branches or pull requests

1 participant