{"action":"created","issue":{"url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/776","repository_url":"https://api.github.com/repos/Squirrel/Squirrel.Windows","labels_url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/776/labels{/name}","comments_url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/776/comments","events_url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/776/events","html_url":"https://github.com/Squirrel/Squirrel.Windows/issues/776","id":167149129,"number":776,"title":"Auto-detect github URLs and use GithubUpdateManager in Update.exe","user":{"login":"wmhilton","id":587740,"avatar_url":"https://avatars.githubusercontent.com/u/587740?v=3","gravatar_id":"","url":"https://api.github.com/users/wmhilton","html_url":"https://github.com/wmhilton","followers_url":"https://api.github.com/users/wmhilton/followers","following_url":"https://api.github.com/users/wmhilton/following{/other_user}","gists_url":"https://api.github.com/users/wmhilton/gists{/gist_id}","starred_url":"https://api.github.com/users/wmhilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wmhilton/subscriptions","organizations_url":"https://api.github.com/users/wmhilton/orgs","repos_url":"https://api.github.com/users/wmhilton/repos","events_url":"https://api.github.com/users/wmhilton/events{/privacy}","received_events_url":"https://api.github.com/users/wmhilton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-22T23:08:16Z","updated_at":"2016-07-25T19:23:57Z","closed_at":null,"body":"I'm trying to make an auto-updating Electron app. I've figured out how to use [electron-builder](https://github.com/electron-userland/electron-builder) to [publish releases to Github](https://github.com/electron-userland/electron-builder/wiki/Publishing-Artifacts). However, I have not figured out how to configure Electron's [autoUpdater.setFeedURL](http://electron.atom.io/docs/api/auto-updater/) to use Github Releases for checking for updates. I believe this is because electron uses the [Update.exe](https://github.com/Squirrel/Squirrel.Windows/tree/master/src/Update) CLI program to handle updates, and Update.exe uses `UpdateManager` whereas according to [these docs](https://github.com/Squirrel/Squirrel.Windows/blob/master/docs/using/github.md#github-update-manager) it would need to call `GithubUpdateManager`. There is another package [electron-gh-releases](https://github.com/jenslind/electron-gh-releases) but I couldn't get it working and I believe it just duplicates some of what `GithubUpdateManager` does anyway. What's the best solution?"},"comment":{"url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/comments/235057037","html_url":"https://github.com/Squirrel/Squirrel.Windows/issues/776#issuecomment-235057037","issue_url":"https://api.github.com/repos/Squirrel/Squirrel.Windows/issues/776","id":235057037,"user":{"login":"jenslind","id":5213672,"avatar_url":"https://avatars.githubusercontent.com/u/5213672?v=3","gravatar_id":"","url":"https://api.github.com/users/jenslind","html_url":"https://github.com/jenslind","followers_url":"https://api.github.com/users/jenslind/followers","following_url":"https://api.github.com/users/jenslind/following{/other_user}","gists_url":"https://api.github.com/users/jenslind/gists{/gist_id}","starred_url":"https://api.github.com/users/jenslind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jenslind/subscriptions","organizations_url":"https://api.github.com/users/jenslind/orgs","repos_url":"https://api.github.com/users/jenslind/repos","events_url":"https://api.github.com/users/jenslind/events{/privacy}","received_events_url":"https://api.github.com/users/jenslind/received_events","type":"User","site_admin":false},"created_at":"2016-07-25T19:23:57Z","updated_at":"2016-07-25T19:23:57Z","body":"Exactly what files are you uploading to GitHub? And have you installed the app before trying to auto-update it?\r\n\r\nHave you read?\r\nhttps://github.com/electron/electron/blob/master/docs/api/auto-updater.md#windows\r\nand\r\nhttps://github.com/jenslind/electron-gh-releases/blob/master/docs/2.x/how-to.md\r\n\r\nAlso there might have been some API changes somewhere, it was a while since I tested `electron-gh-releases` on Windows."}}
{"actor":{"display_login":"jenslind"}}