{"action":"created","issue":{"url":"https://api.github.com/repos/arboleya/electrify/issues/5","labels_url":"https://api.github.com/repos/arboleya/electrify/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/arboleya/electrify/issues/5/comments","events_url":"https://api.github.com/repos/arboleya/electrify/issues/5/events","html_url":"https://github.com/arboleya/electrify/issues/5","id":103843754,"number":5,"title":"opening links in default browser?","user":{"login":"mashaal","id":6100364,"avatar_url":"https://avatars.githubusercontent.com/u/6100364?v=3","gravatar_id":"","url":"https://api.github.com/users/mashaal","html_url":"https://github.com/mashaal","followers_url":"https://api.github.com/users/mashaal/followers","following_url":"https://api.github.com/users/mashaal/following{/other_user}","gists_url":"https://api.github.com/users/mashaal/gists{/gist_id}","starred_url":"https://api.github.com/users/mashaal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mashaal/subscriptions","organizations_url":"https://api.github.com/users/mashaal/orgs","repos_url":"https://api.github.com/users/mashaal/repos","events_url":"https://api.github.com/users/mashaal/events{/privacy}","received_events_url":"https://api.github.com/users/mashaal/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-29T10:35:58Z","updated_at":"2015-08-31T07:09:34Z","closed_at":"2015-08-29T10:58:35Z","body":"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?\r\n\r\nhttps://github.com/atom/electron/blob/master/docs/api/shell.md"},"comment":{"url":"https://api.github.com/repos/arboleya/electrify/issues/comments/136284350","html_url":"https://github.com/arboleya/electrify/issues/5#issuecomment-136284350","issue_url":"https://api.github.com/repos/arboleya/electrify/issues/5","id":136284350,"user":{"login":"mashaal","id":6100364,"avatar_url":"https://avatars.githubusercontent.com/u/6100364?v=3","gravatar_id":"","url":"https://api.github.com/users/mashaal","html_url":"https://github.com/mashaal","followers_url":"https://api.github.com/users/mashaal/followers","following_url":"https://api.github.com/users/mashaal/following{/other_user}","gists_url":"https://api.github.com/users/mashaal/gists{/gist_id}","starred_url":"https://api.github.com/users/mashaal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mashaal/subscriptions","organizations_url":"https://api.github.com/users/mashaal/orgs","repos_url":"https://api.github.com/users/mashaal/repos","events_url":"https://api.github.com/users/mashaal/events{/privacy}","received_events_url":"https://api.github.com/users/mashaal/received_events","type":"User","site_admin":false},"created_at":"2015-08-31T07:09:34Z","updated_at":"2015-08-31T07:09:34Z","body":"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.\r\n\r\n```\r\nopen = Meteor.npmRequire('open')\r\n\r\nMeteor.methods 'link': (url) ->\r\n  open(url)\r\n  return\r\n```"}}