{"action":"created","issue":{"url":"https://api.github.com/repos/electron/electron/issues/10201","repository_url":"https://api.github.com/repos/electron/electron","labels_url":"https://api.github.com/repos/electron/electron/issues/10201/labels{/name}","comments_url":"https://api.github.com/repos/electron/electron/issues/10201/comments","events_url":"https://api.github.com/repos/electron/electron/issues/10201/events","html_url":"https://github.com/electron/electron/issues/10201","id":248204038,"number":10201,"title":"app.relaunch doesn't work if app run on start (OSX)","user":{"login":"devildant","id":8700106,"avatar_url":"https://avatars3.githubusercontent.com/u/8700106?v=4","gravatar_id":"","url":"https://api.github.com/users/devildant","html_url":"https://github.com/devildant","followers_url":"https://api.github.com/users/devildant/followers","following_url":"https://api.github.com/users/devildant/following{/other_user}","gists_url":"https://api.github.com/users/devildant/gists{/gist_id}","starred_url":"https://api.github.com/users/devildant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devildant/subscriptions","organizations_url":"https://api.github.com/users/devildant/orgs","repos_url":"https://api.github.com/users/devildant/repos","events_url":"https://api.github.com/users/devildant/events{/privacy}","received_events_url":"https://api.github.com/users/devildant/received_events","type":"User","site_admin":false},"labels":[{"id":97403606,"url":"https://api.github.com/repos/electron/electron/labels/platform/macOS","name":"platform/macOS","color":"c7def8","default":false},{"id":542157716,"url":"https://api.github.com/repos/electron/electron/labels/triaged/helpme","name":"triaged/helpme","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":{"login":"groundwater","id":538488,"avatar_url":"https://avatars0.githubusercontent.com/u/538488?v=4","gravatar_id":"","url":"https://api.github.com/users/groundwater","html_url":"https://github.com/groundwater","followers_url":"https://api.github.com/users/groundwater/followers","following_url":"https://api.github.com/users/groundwater/following{/other_user}","gists_url":"https://api.github.com/users/groundwater/gists{/gist_id}","starred_url":"https://api.github.com/users/groundwater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groundwater/subscriptions","organizations_url":"https://api.github.com/users/groundwater/orgs","repos_url":"https://api.github.com/users/groundwater/repos","events_url":"https://api.github.com/users/groundwater/events{/privacy}","received_events_url":"https://api.github.com/users/groundwater/received_events","type":"User","site_admin":true},"assignees":[{"login":"groundwater","id":538488,"avatar_url":"https://avatars0.githubusercontent.com/u/538488?v=4","gravatar_id":"","url":"https://api.github.com/users/groundwater","html_url":"https://github.com/groundwater","followers_url":"https://api.github.com/users/groundwater/followers","following_url":"https://api.github.com/users/groundwater/following{/other_user}","gists_url":"https://api.github.com/users/groundwater/gists{/gist_id}","starred_url":"https://api.github.com/users/groundwater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/groundwater/subscriptions","organizations_url":"https://api.github.com/users/groundwater/orgs","repos_url":"https://api.github.com/users/groundwater/repos","events_url":"https://api.github.com/users/groundwater/events{/privacy}","received_events_url":"https://api.github.com/users/groundwater/received_events","type":"User","site_admin":true}],"milestone":null,"comments":0,"created_at":"2017-08-05T19:18:51Z","updated_at":"2017-12-03T02:08:44Z","closed_at":"2017-12-03T02:08:44Z","author_association":"NONE","body":"Hello,\r\n\r\ni put the plist file for auto start my app on osx inside ~/Library/launchAgents and if i use app.relaunch and app.exit();, the application stop but not relaunch.\r\nit's work perfectly if user launch app, the relaunch work fine but when the application launch by launchAgents doesn't work.\r\n\r\nhow correct this ?\r\nbest regards\r\n\r\nplist exemple : \r\n`<?xml version=\"1.0\" encoding=\"UTF-8\"?>`\r\n`<!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">`\r\n`<plist version=\"1.0\">`\r\n`<dict>`\r\n`  <key>Label</key>`\r\n`  <string>MyApp</string>`\r\n`  <key>ProgramArguments</key>`\r\n`  <array>`\r\n`      <string>/Applications/MyApp/MyApp.app/Contents/MacOS/MyApp</string>`\r\n`    <string>--hidden</string>`\r\n`  </array>`\r\n`  <key>RunAtLoad</key>`\r\n`  <true/>`\r\n`</dict>`\r\n`</plist>`"},"comment":{"url":"https://api.github.com/repos/electron/electron/issues/comments/348734743","html_url":"https://github.com/electron/electron/issues/10201#issuecomment-348734743","issue_url":"https://api.github.com/repos/electron/electron/issues/10201","id":348734743,"user":{"login":"sofianguy","id":2138661,"avatar_url":"https://avatars3.githubusercontent.com/u/2138661?v=4","gravatar_id":"","url":"https://api.github.com/users/sofianguy","html_url":"https://github.com/sofianguy","followers_url":"https://api.github.com/users/sofianguy/followers","following_url":"https://api.github.com/users/sofianguy/following{/other_user}","gists_url":"https://api.github.com/users/sofianguy/gists{/gist_id}","starred_url":"https://api.github.com/users/sofianguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sofianguy/subscriptions","organizations_url":"https://api.github.com/users/sofianguy/orgs","repos_url":"https://api.github.com/users/sofianguy/repos","events_url":"https://api.github.com/users/sofianguy/events{/privacy}","received_events_url":"https://api.github.com/users/sofianguy/received_events","type":"User","site_admin":false},"created_at":"2017-12-03T02:08:44Z","updated_at":"2017-12-03T02:08:44Z","author_association":"NONE","body":"@devildant Thanks for reaching out!\r\n\r\nBecause we treat our issues list as the team's backlog, we close issues that are questions since they don't represent a task needing to be completed. For most questions about Electron there are a lot of options. \r\nCheck out the [Electron community](https://github.com/electron/electron#community). There are also a bunch of helpful people in this [community forum](https://discuss.atom.io/c/electron) that should be willing to point you in the right direction."}}
{"actor":{"display_login":"sofianguy"}}