-
Notifications
You must be signed in to change notification settings - Fork 52
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
opening links in default browser? #5
Comments
nm- I found a solution using https://www.npmjs.com/package/open |
Hi, just out of curiosity, your need was opening the url from the client or server side of your meteor app? And how you ended up doing, with this package you found? |
I have a link-sharing feature in my app, and wanted to open in browser (using target=blank opens in a new electron instance). I found that adding the NPM package (https://github.com/meteorhacks/npm), along with the Open package (linked above), that I can create a meteor method on the server that will then open in the default browser.
|
Oh I see, very nice. Tks for the infos. |
Loading the entire npm package AND another package just to open a link seems awfully inefficient. Surely there must be a simpler way. |
Thanks for this package- I'm trying to open links defined in my app in the user's default browser. I found this electron documentation, but unsure if it's possible call from meteor side?
https://github.com/atom/electron/blob/master/docs/api/shell.md
The text was updated successfully, but these errors were encountered: