{"action":"created","issue":{"url":"https://api.github.com/repos/atom/grunt-electron-installer/issues/84","labels_url":"https://api.github.com/repos/atom/grunt-electron-installer/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/atom/grunt-electron-installer/issues/84/comments","events_url":"https://api.github.com/repos/atom/grunt-electron-installer/issues/84/events","html_url":"https://github.com/atom/grunt-electron-installer/issues/84","id":118147921,"number":84,"title":"Squirrel events won't fire","user":{"login":"enahum","id":6757047,"avatar_url":"https://avatars.githubusercontent.com/u/6757047?v=3","gravatar_id":"","url":"https://api.github.com/users/enahum","html_url":"https://github.com/enahum","followers_url":"https://api.github.com/users/enahum/followers","following_url":"https://api.github.com/users/enahum/following{/other_user}","gists_url":"https://api.github.com/users/enahum/gists{/gist_id}","starred_url":"https://api.github.com/users/enahum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enahum/subscriptions","organizations_url":"https://api.github.com/users/enahum/orgs","repos_url":"https://api.github.com/users/enahum/repos","events_url":"https://api.github.com/users/enahum/events{/privacy}","received_events_url":"https://api.github.com/users/enahum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2015-11-20T23:21:29Z","updated_at":"2015-12-02T18:15:27Z","closed_at":null,"body":"I'm using the installer version 1.1.0 and as the docs say the app should run with squirrel-events as arguments but I only get the --squirrel-first-run flag, the install, updated, obsolete or uninstall are not getting fired at any time, even thou i´m able to update my app using the autoUpdater.\r\n\r\nVersions are:\r\n* Electron 0.35.0\r\n* grunt-electron-installer 1.1.0\r\n* electron-packager 5.1.1\r\n\r\n\r\nBuild in Windows 10 x64\r\n\r\nAny help is much appreciated."},"comment":{"url":"https://api.github.com/repos/atom/grunt-electron-installer/issues/comments/161386773","html_url":"https://github.com/atom/grunt-electron-installer/issues/84#issuecomment-161386773","issue_url":"https://api.github.com/repos/atom/grunt-electron-installer/issues/84","id":161386773,"user":{"login":"paulcbetts","id":1396,"avatar_url":"https://avatars.githubusercontent.com/u/1396?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcbetts","html_url":"https://github.com/paulcbetts","followers_url":"https://api.github.com/users/paulcbetts/followers","following_url":"https://api.github.com/users/paulcbetts/following{/other_user}","gists_url":"https://api.github.com/users/paulcbetts/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcbetts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcbetts/subscriptions","organizations_url":"https://api.github.com/users/paulcbetts/orgs","repos_url":"https://api.github.com/users/paulcbetts/repos","events_url":"https://api.github.com/users/paulcbetts/events{/privacy}","received_events_url":"https://api.github.com/users/paulcbetts/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T18:15:27Z","updated_at":"2015-12-02T18:15:27Z","body":"So, the way this works is:\r\n\r\n1. Update.exe applies the action it's supposed to take (i.e. install, update, etc)\r\n1. Update.exe runs your EXE with `--squirrel-install`\r\n1. Update.exe waits for it to complete (hopefully not long)\r\n1. Update.exe then runs the app with `--squirrel-firstrun`\r\n\r\nMy psychic debugger is saying that your hooks are actually running, it's just hard to see because Update.exe always captures the output. "}}