{"action":"created","issue":{"url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/68","repository_url":"https://api.github.com/repos/Teamwork/node-auto-launch","labels_url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/68/comments","events_url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/68/events","html_url":"https://github.com/Teamwork/node-auto-launch/issues/68","id":273701379,"number":68,"title":"After auto launch, the electron default app is getting started first. Then my app is starting","user":{"login":"vaidyaanand","id":22315535,"avatar_url":"https://avatars3.githubusercontent.com/u/22315535?v=4","gravatar_id":"","url":"https://api.github.com/users/vaidyaanand","html_url":"https://github.com/vaidyaanand","followers_url":"https://api.github.com/users/vaidyaanand/followers","following_url":"https://api.github.com/users/vaidyaanand/following{/other_user}","gists_url":"https://api.github.com/users/vaidyaanand/gists{/gist_id}","starred_url":"https://api.github.com/users/vaidyaanand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaidyaanand/subscriptions","organizations_url":"https://api.github.com/users/vaidyaanand/orgs","repos_url":"https://api.github.com/users/vaidyaanand/repos","events_url":"https://api.github.com/users/vaidyaanand/events{/privacy}","received_events_url":"https://api.github.com/users/vaidyaanand/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-14T08:12:01Z","updated_at":"2017-12-02T12:54:09Z","closed_at":"2017-12-02T12:54:09Z","author_association":"NONE","body":"<!-- Thanks for contributing. Please fill these out to make it easier: -->\r\nWelcome to Electron\r\n\r\nTo run your app with Electron, execute the following command under your Console (or Terminal):\r\n\r\npath_to_generated path-to-your-app\r\nThe path-to-your-app should be the path to your own Electron app, you can read the quick start guide in Electron's docs on how to write one.\r\n\r\nOr you can just drag your app here to run it:\r\n- The target platform(s) the problem occurs on (Linux, Mac, Mac App Store, and or Windows): Windows x64\r\n- Node version (run `node -v`): 6.9.0\r\n- auto-launch version: 5.0.1\r\n- The options you're passing to auto-launch: \r\n- Are you using NW.js or Electron? No\r\n  - If so, which version?\r\n  - If you're using Electron, are you using auto-launch from the main process or a renderer process?\r\nI am using electron\r\n- Can you reproduce this with a simple Hello World example app?\r\nNeed to check\r\n- If needs be, would you be able to provide us with a simple app (as simple as possible) which reproduces the problem?\r\n\r\n---\r\n\r\n<!-- Describe your problem after this -->\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/comments/348690347","html_url":"https://github.com/Teamwork/node-auto-launch/issues/68#issuecomment-348690347","issue_url":"https://api.github.com/repos/Teamwork/node-auto-launch/issues/68","id":348690347,"user":{"login":"adam-lynch","id":1427241,"avatar_url":"https://avatars1.githubusercontent.com/u/1427241?v=4","gravatar_id":"","url":"https://api.github.com/users/adam-lynch","html_url":"https://github.com/adam-lynch","followers_url":"https://api.github.com/users/adam-lynch/followers","following_url":"https://api.github.com/users/adam-lynch/following{/other_user}","gists_url":"https://api.github.com/users/adam-lynch/gists{/gist_id}","starred_url":"https://api.github.com/users/adam-lynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adam-lynch/subscriptions","organizations_url":"https://api.github.com/users/adam-lynch/orgs","repos_url":"https://api.github.com/users/adam-lynch/repos","events_url":"https://api.github.com/users/adam-lynch/events{/privacy}","received_events_url":"https://api.github.com/users/adam-lynch/received_events","type":"User","site_admin":false},"created_at":"2017-12-02T12:54:09Z","updated_at":"2017-12-02T12:54:09Z","author_association":"OWNER","body":"If I understand correctly, the default Electron app is opened, not your app. This is either because: \r\n\r\n1. You're using an old version of auto-launch which has a bug. So try the latest version (5.0.3).\r\n2. You're opening your app during development and auto-launch is being called. You can't use this module in development. When I'm testing, I run `npm run pack` (see [electron-builder](https://github.com/electron-userland/electron-builder)), then open the generated app. P.S. this module is handy for checking if your app is currently running in development: https://github.com/sindresorhus/electron-is-dev."}}
{"actor":{"display_login":"adam-lynch"}}