{"action":"created","issue":{"url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/29","repository_url":"https://api.github.com/repos/Teamwork/node-auto-launch","labels_url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/29/comments","events_url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/29/events","html_url":"https://github.com/Teamwork/node-auto-launch/issues/29","id":160034875,"number":29,"title":"Windows registry key pointing to an older version of an electron-based app after an upgrade using Squirrel","user":{"login":"djpereira","id":15444756,"avatar_url":"https://avatars.githubusercontent.com/u/15444756?v=3","gravatar_id":"","url":"https://api.github.com/users/djpereira","html_url":"https://github.com/djpereira","followers_url":"https://api.github.com/users/djpereira/followers","following_url":"https://api.github.com/users/djpereira/following{/other_user}","gists_url":"https://api.github.com/users/djpereira/gists{/gist_id}","starred_url":"https://api.github.com/users/djpereira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djpereira/subscriptions","organizations_url":"https://api.github.com/users/djpereira/orgs","repos_url":"https://api.github.com/users/djpereira/repos","events_url":"https://api.github.com/users/djpereira/events{/privacy}","received_events_url":"https://api.github.com/users/djpereira/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Teamwork/node-auto-launch/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Teamwork/node-auto-launch/labels/electron","name":"electron","color":"c5def5"},{"url":"https://api.github.com/repos/Teamwork/node-auto-launch/labels/up-for-grabs","name":"up-for-grabs","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-13T20:14:28Z","updated_at":"2016-08-09T15:46:36Z","closed_at":null,"body":"The install location of the .exe for Windows changes as you update your app when you use Squirrel.Windows (see https://github.com/Squirrel/Squirrel.Windows/blob/master/docs/using/install-process.md#install-location).\r\n\r\nWhen you call the `enable` command, auto-launch creates a registry key using the path to the current version, but this does not get updated as you deploy newer versions of your app thru Squirrel and electron's auto-update.\r\n\r\nA possible workaround is to listen to the `--squirrel-updated` event and call the `enable` command again, so the registry key gets recreated.\r\n\r\nI am wondering if I am missing something or if there is a better workaround."},"comment":{"url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/comments/238596192","html_url":"https://github.com/Teamwork/node-auto-launch/issues/29#issuecomment-238596192","issue_url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/29","id":238596192,"user":{"login":"MarshallOfSound","id":6634592,"avatar_url":"https://avatars.githubusercontent.com/u/6634592?v=3","gravatar_id":"","url":"https://api.github.com/users/MarshallOfSound","html_url":"https://github.com/MarshallOfSound","followers_url":"https://api.github.com/users/MarshallOfSound/followers","following_url":"https://api.github.com/users/MarshallOfSound/following{/other_user}","gists_url":"https://api.github.com/users/MarshallOfSound/gists{/gist_id}","starred_url":"https://api.github.com/users/MarshallOfSound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarshallOfSound/subscriptions","organizations_url":"https://api.github.com/users/MarshallOfSound/orgs","repos_url":"https://api.github.com/users/MarshallOfSound/repos","events_url":"https://api.github.com/users/MarshallOfSound/events{/privacy}","received_events_url":"https://api.github.com/users/MarshallOfSound/received_events","type":"User","site_admin":false},"created_at":"2016-08-09T15:46:36Z","updated_at":"2016-08-09T15:46:36Z","body":"@djpereira @adam-lynch \r\n\r\nSquirrel has a springboard style exe launcher using Update.exe\r\n\r\n`update.exe --processStart \"name of exe.exe\"`\r\n\r\nI'll PR this in"}}
{"actor":{"display_login":"MarshallOfSound"}}