{"action":"created","issue":{"url":"https://api.github.com/repos/octalmage/robotjs/issues/190","repository_url":"https://api.github.com/repos/octalmage/robotjs","labels_url":"https://api.github.com/repos/octalmage/robotjs/issues/190/labels{/name}","comments_url":"https://api.github.com/repos/octalmage/robotjs/issues/190/comments","events_url":"https://api.github.com/repos/octalmage/robotjs/issues/190/events","html_url":"https://github.com/octalmage/robotjs/issues/190","id":154840770,"number":190,"title":"Using robotjs in electron app","user":{"login":"Zyphdoz","id":19358097,"avatar_url":"https://avatars.githubusercontent.com/u/19358097?v=3","gravatar_id":"","url":"https://api.github.com/users/Zyphdoz","html_url":"https://github.com/Zyphdoz","followers_url":"https://api.github.com/users/Zyphdoz/followers","following_url":"https://api.github.com/users/Zyphdoz/following{/other_user}","gists_url":"https://api.github.com/users/Zyphdoz/gists{/gist_id}","starred_url":"https://api.github.com/users/Zyphdoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zyphdoz/subscriptions","organizations_url":"https://api.github.com/users/Zyphdoz/orgs","repos_url":"https://api.github.com/users/Zyphdoz/repos","events_url":"https://api.github.com/users/Zyphdoz/events{/privacy}","received_events_url":"https://api.github.com/users/Zyphdoz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-05-14T08:02:51Z","updated_at":"2016-05-15T09:20:25Z","closed_at":null,"body":"Hello,\r\n\r\nI would like to use RobotJS in an Electron app. My program works well with Node but when I run it in Electron I get the following error: A dynamic link library (DLL) initialization routine failed. \\node_modules\\robotjs\\build\\Release\\robotjs.node\r\n\r\nI believe this is the source of the problem https://github.com/electron/electron/blob/v0.37.2/docs/tutorial/using-native-node-modules.md#using-native-node-modules\r\nHowever, I am having trouble figuring out how to fix this on my own because I'm new to developing in general. Is there any chance you can make a prebuilt or something that works with electron?"},"comment":{"url":"https://api.github.com/repos/octalmage/robotjs/issues/comments/219274885","html_url":"https://github.com/octalmage/robotjs/issues/190#issuecomment-219274885","issue_url":"https://api.github.com/repos/octalmage/robotjs/issues/190","id":219274885,"user":{"login":"Zyphdoz","id":19358097,"avatar_url":"https://avatars.githubusercontent.com/u/19358097?v=3","gravatar_id":"","url":"https://api.github.com/users/Zyphdoz","html_url":"https://github.com/Zyphdoz","followers_url":"https://api.github.com/users/Zyphdoz/followers","following_url":"https://api.github.com/users/Zyphdoz/following{/other_user}","gists_url":"https://api.github.com/users/Zyphdoz/gists{/gist_id}","starred_url":"https://api.github.com/users/Zyphdoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zyphdoz/subscriptions","organizations_url":"https://api.github.com/users/Zyphdoz/orgs","repos_url":"https://api.github.com/users/Zyphdoz/repos","events_url":"https://api.github.com/users/Zyphdoz/events{/privacy}","received_events_url":"https://api.github.com/users/Zyphdoz/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T09:20:25Z","updated_at":"2016-05-15T09:20:25Z","body":"My node version is up to date. I just found this though. https://github.com/electron/electron-rebuild/issues/66\r\nLooks like it's a problem with electron rebuild, no wonder I wasn't able to get it working. Hopefully it will work again soon."}}