{"action":"created","issue":{"url":"https://api.github.com/repos/datproject/dat-desktop/issues/88","repository_url":"https://api.github.com/repos/datproject/dat-desktop","labels_url":"https://api.github.com/repos/datproject/dat-desktop/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/datproject/dat-desktop/issues/88/comments","events_url":"https://api.github.com/repos/datproject/dat-desktop/issues/88/events","html_url":"https://github.com/datproject/dat-desktop/pull/88","id":190719352,"number":88,"title":"feat(index): use electron-window","user":{"login":"yoshuawuyts","id":2467194,"avatar_url":"https://avatars.githubusercontent.com/u/2467194?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-21T13:38:52Z","updated_at":"2016-11-21T13:58:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/datproject/dat-desktop/pulls/88","html_url":"https://github.com/datproject/dat-desktop/pull/88","diff_url":"https://github.com/datproject/dat-desktop/pull/88.diff","patch_url":"https://github.com/datproject/dat-desktop/pull/88.patch"},"body":"Lil maintenance patch to clean up `index.js` - gives us some room to add more features. Think this is cool because it turns the entry file for electron into something that weighs 30 lines of code that's easy to follow :sparkles:\r\n\r\n## Changes\r\n- use `envobj` to validate environment variables\r\n- create `lib/delegate-electron-events` to wrap boilerplate in `index.js`, needed to safely delegate file and link events sent to electron while booting (should turn into a package at some point probably)\r\n- use `electron-window` to remove some of the browser boot boilerplate"},"comment":{"url":"https://api.github.com/repos/datproject/dat-desktop/issues/comments/261945124","html_url":"https://github.com/datproject/dat-desktop/pull/88#issuecomment-261945124","issue_url":"https://api.github.com/repos/datproject/dat-desktop/issues/88","id":261945124,"user":{"login":"yoshuawuyts","id":2467194,"avatar_url":"https://avatars.githubusercontent.com/u/2467194?v=3","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"created_at":"2016-11-21T13:58:42Z","updated_at":"2016-11-21T13:58:42Z","body":"oh just now realized `ipcMain.on('ready')` is a non-standard thing. @juliangruber any thoughts on this patch?"}}
{"actor":{"display_login":"yoshuawuyts"}}