{"action":"created","issue":{"url":"https://api.github.com/repos/Robot/robot-js/issues/2","repository_url":"https://api.github.com/repos/Robot/robot-js","labels_url":"https://api.github.com/repos/Robot/robot-js/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Robot/robot-js/issues/2/comments","events_url":"https://api.github.com/repos/Robot/robot-js/issues/2/events","html_url":"https://github.com/Robot/robot-js/issues/2","id":152546899,"number":2,"title":"Electron","user":{"login":"ProbablePrime","id":8791132,"avatar_url":"https://avatars.githubusercontent.com/u/8791132?v=3","gravatar_id":"","url":"https://api.github.com/users/ProbablePrime","html_url":"https://github.com/ProbablePrime","followers_url":"https://api.github.com/users/ProbablePrime/followers","following_url":"https://api.github.com/users/ProbablePrime/following{/other_user}","gists_url":"https://api.github.com/users/ProbablePrime/gists{/gist_id}","starred_url":"https://api.github.com/users/ProbablePrime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProbablePrime/subscriptions","organizations_url":"https://api.github.com/users/ProbablePrime/orgs","repos_url":"https://api.github.com/users/ProbablePrime/repos","events_url":"https://api.github.com/users/ProbablePrime/events{/privacy}","received_events_url":"https://api.github.com/users/ProbablePrime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-05-02T12:52:15Z","updated_at":"2016-10-07T19:30:51Z","closed_at":null,"body":"Ideally i need to get this working within [electron](electron.atom.io). \r\n\r\nThere's documentation about this here: http://electron.atom.io/docs/v0.37.8/tutorial/using-native-node-modules/\r\n\r\nAnd a package which takes care of most of it: https://github.com/electron/electron-rebuild for most modules. We're missing a bindings.gyp file which is what electron-rebuild requires. Instead you've got a manual build process going on. \r\n\r\nI'm guessing the easiest way here is to manually build electron binaries and include them in the pre-built repo. I'll look into adding stuff into the makefiles etc."},"comment":{"url":"https://api.github.com/repos/Robot/robot-js/issues/comments/252341029","html_url":"https://github.com/Robot/robot-js/issues/2#issuecomment-252341029","issue_url":"https://api.github.com/repos/Robot/robot-js/issues/2","id":252341029,"user":{"login":"dkrutsko","id":3094700,"avatar_url":"https://avatars.githubusercontent.com/u/3094700?v=3","gravatar_id":"","url":"https://api.github.com/users/dkrutsko","html_url":"https://github.com/dkrutsko","followers_url":"https://api.github.com/users/dkrutsko/followers","following_url":"https://api.github.com/users/dkrutsko/following{/other_user}","gists_url":"https://api.github.com/users/dkrutsko/gists{/gist_id}","starred_url":"https://api.github.com/users/dkrutsko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkrutsko/subscriptions","organizations_url":"https://api.github.com/users/dkrutsko/orgs","repos_url":"https://api.github.com/users/dkrutsko/repos","events_url":"https://api.github.com/users/dkrutsko/events{/privacy}","received_events_url":"https://api.github.com/users/dkrutsko/received_events","type":"User","site_admin":false},"created_at":"2016-10-07T19:30:51Z","updated_at":"2016-10-07T19:30:51Z","body":"Hey there, so I still haven't experimented with electron however the node compile process is very well documented [here](http://getrobot.net/docs/node.html).\r\n\r\nThe way robot works is it has the JavaScript library and the pre-compiled binary for your target platform. The entire library and precompiled binary is in the `/Library` folder. When packaging your application, you need to make sure the binaries are available in that directly.\r\n\r\nIf you don't want to compile robot-js yourself, you can download the precompiled binaries from [here](http://node.getrobot.net/). NPM does this for your platform [automatically](https://github.com/Robot/robot-js/blob/master/Native/Install.js) on install."}}
{"actor":{"display_login":"dkrutsko"}}