{"action":"created","issue":{"url":"https://api.github.com/repos/bithavoc/node-desktop-idle/issues/5","repository_url":"https://api.github.com/repos/bithavoc/node-desktop-idle","labels_url":"https://api.github.com/repos/bithavoc/node-desktop-idle/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/bithavoc/node-desktop-idle/issues/5/comments","events_url":"https://api.github.com/repos/bithavoc/node-desktop-idle/issues/5/events","html_url":"https://github.com/bithavoc/node-desktop-idle/issues/5","id":280609177,"number":5,"title":"Packaging for Windows from Mac","user":{"login":"soorajvnair","id":4268932,"avatar_url":"https://avatars2.githubusercontent.com/u/4268932?v=4","gravatar_id":"","url":"https://api.github.com/users/soorajvnair","html_url":"https://github.com/soorajvnair","followers_url":"https://api.github.com/users/soorajvnair/followers","following_url":"https://api.github.com/users/soorajvnair/following{/other_user}","gists_url":"https://api.github.com/users/soorajvnair/gists{/gist_id}","starred_url":"https://api.github.com/users/soorajvnair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soorajvnair/subscriptions","organizations_url":"https://api.github.com/users/soorajvnair/orgs","repos_url":"https://api.github.com/users/soorajvnair/repos","events_url":"https://api.github.com/users/soorajvnair/events{/privacy}","received_events_url":"https://api.github.com/users/soorajvnair/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-08T20:34:17Z","updated_at":"2018-05-23T19:28:11Z","closed_at":"2017-12-08T20:43:16Z","author_association":"NONE","body":"Hey there,\r\n\r\nGreat work on the package. I used your native module on my Electron App and it works perfectly well during development, but as soon as i try to package your Native Module from a non target OS,\r\ni.e Packaging for Windows from a Mac machine. The resulting executable fails to run on Windows and shows the following error, the error varies according to the ASAR setting.\r\n\r\n![screen shot 2017-12-09 at 1 13 29 am](https://user-images.githubusercontent.com/4268932/33782307-35520d86-dc7e-11e7-9093-65ed23007353.png)\r\n\r\nThis is a well known [issue](https://github.com/electron-userland/electron-packager/issues/215) amongst people who try to package for all platforms from a single platform. There are many hacks and solutions to make this work however, the most promising one \r\nis perhaps https://www.npmjs.com/package/prebuild which lets you generate prebuilt binaries \r\nfor the different platforms. Will help a lot of folks like me.\r\n\r\nIs this something you'll be looking into at some point or are you already working on it?\r\n\r\nThanks again. "},"comment":{"url":"https://api.github.com/repos/bithavoc/node-desktop-idle/issues/comments/391468315","html_url":"https://github.com/bithavoc/node-desktop-idle/issues/5#issuecomment-391468315","issue_url":"https://api.github.com/repos/bithavoc/node-desktop-idle/issues/5","id":391468315,"user":{"login":"digitalstaub","id":9270848,"avatar_url":"https://avatars2.githubusercontent.com/u/9270848?v=4","gravatar_id":"","url":"https://api.github.com/users/digitalstaub","html_url":"https://github.com/digitalstaub","followers_url":"https://api.github.com/users/digitalstaub/followers","following_url":"https://api.github.com/users/digitalstaub/following{/other_user}","gists_url":"https://api.github.com/users/digitalstaub/gists{/gist_id}","starred_url":"https://api.github.com/users/digitalstaub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/digitalstaub/subscriptions","organizations_url":"https://api.github.com/users/digitalstaub/orgs","repos_url":"https://api.github.com/users/digitalstaub/repos","events_url":"https://api.github.com/users/digitalstaub/events{/privacy}","received_events_url":"https://api.github.com/users/digitalstaub/received_events","type":"User","site_admin":false},"created_at":"2018-05-23T19:28:11Z","updated_at":"2018-05-23T19:28:11Z","author_association":"NONE","body":"got it with:\r\nnpm i git+https://github.com/CudoVentures/node-desktop-idle.git#prebuild"}}
{"actor":{"display_login":"digitalstaub"}}