{"action":"created","issue":{"url":"https://api.github.com/repos/atom/node-keytar/issues/39","repository_url":"https://api.github.com/repos/atom/node-keytar","labels_url":"https://api.github.com/repos/atom/node-keytar/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/atom/node-keytar/issues/39/comments","events_url":"https://api.github.com/repos/atom/node-keytar/issues/39/events","html_url":"https://github.com/atom/node-keytar/issues/39","id":139655775,"node_id":"MDU6SXNzdWUxMzk2NTU3NzU=","number":39,"title":"Keytar + Electron: Works on OSX, \"Error: %1 is not a valid Win32 application\" on Windows","user":{"login":"tylerjames","id":1138573,"node_id":"MDQ6VXNlcjExMzg1NzM=","avatar_url":"https://avatars2.githubusercontent.com/u/1138573?v=4","gravatar_id":"","url":"https://api.github.com/users/tylerjames","html_url":"https://github.com/tylerjames","followers_url":"https://api.github.com/users/tylerjames/followers","following_url":"https://api.github.com/users/tylerjames/following{/other_user}","gists_url":"https://api.github.com/users/tylerjames/gists{/gist_id}","starred_url":"https://api.github.com/users/tylerjames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tylerjames/subscriptions","organizations_url":"https://api.github.com/users/tylerjames/orgs","repos_url":"https://api.github.com/users/tylerjames/repos","events_url":"https://api.github.com/users/tylerjames/events{/privacy}","received_events_url":"https://api.github.com/users/tylerjames/received_events","type":"User","site_admin":false},"labels":[{"id":193723799,"node_id":"MDU6TGFiZWwxOTM3MjM3OTk=","url":"https://api.github.com/repos/atom/node-keytar/labels/question","name":"question","color":"EDEDED","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-03-09T18:06:01Z","updated_at":"2018-07-09T18:21:38Z","closed_at":null,"author_association":"NONE","body":"I added Keytar to my Electron app and ran electron-rebuild on it. After packaging the resulting app works just fine on OSX, but when I try to run the .exe on windows I get the dreaded:\n\n> \"Error: %1 is not a valid Win32 application\"\n\nI read that this might be due to the module being built for x64 which makes it not run on an ia32 environment.\n\nSo I installed node-gyp and rebuilt the module using:\n\n> HOME=~/.electron-gyp node-gyp rebuild --target=0.36.2 --arch=ia32 --dist-url=https://atom.io/download/atom-shell\n\nIt built fine but I got the same result after packaging the app for win32.\n\nIs there any way to get this running on a 32-bit windows environment? Am I doing something wrong when in rebuilding step?\n\nI can see that keytar is at least included inside the app folder after packaging. Is there a way to tell what architecture keytar was built for? \n\nThanks in advance for any help. \n"},"comment":{"url":"https://api.github.com/repos/atom/node-keytar/issues/comments/403573762","html_url":"https://github.com/atom/node-keytar/issues/39#issuecomment-403573762","issue_url":"https://api.github.com/repos/atom/node-keytar/issues/39","id":403573762,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzU3Mzc2Mg==","user":{"login":"shiftkey","id":359239,"node_id":"MDQ6VXNlcjM1OTIzOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/359239?v=4","gravatar_id":"","url":"https://api.github.com/users/shiftkey","html_url":"https://github.com/shiftkey","followers_url":"https://api.github.com/users/shiftkey/followers","following_url":"https://api.github.com/users/shiftkey/following{/other_user}","gists_url":"https://api.github.com/users/shiftkey/gists{/gist_id}","starred_url":"https://api.github.com/users/shiftkey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiftkey/subscriptions","organizations_url":"https://api.github.com/users/shiftkey/orgs","repos_url":"https://api.github.com/users/shiftkey/repos","events_url":"https://api.github.com/users/shiftkey/events{/privacy}","received_events_url":"https://api.github.com/users/shiftkey/received_events","type":"User","site_admin":true},"created_at":"2018-07-09T18:21:37Z","updated_at":"2018-07-09T18:21:37Z","author_association":"CONTRIBUTOR","body":"@IGassmann which version of Electron are you trying to target?"}}
{"actor":{"display_login":"shiftkey"}}