{"action":"created","issue":{"url":"https://api.github.com/repos/egoist/nwjs/issues/12","repository_url":"https://api.github.com/repos/egoist/nwjs","labels_url":"https://api.github.com/repos/egoist/nwjs/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/egoist/nwjs/issues/12/comments","events_url":"https://api.github.com/repos/egoist/nwjs/issues/12/events","html_url":"https://github.com/egoist/nwjs/issues/12","id":151211142,"number":12,"title":"Feature Request: Automatically download NWjs without CLI commands","user":{"login":"frankhale","id":190154,"avatar_url":"https://avatars.githubusercontent.com/u/190154?v=3","gravatar_id":"","url":"https://api.github.com/users/frankhale","html_url":"https://github.com/frankhale","followers_url":"https://api.github.com/users/frankhale/followers","following_url":"https://api.github.com/users/frankhale/following{/other_user}","gists_url":"https://api.github.com/users/frankhale/gists{/gist_id}","starred_url":"https://api.github.com/users/frankhale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankhale/subscriptions","organizations_url":"https://api.github.com/users/frankhale/orgs","repos_url":"https://api.github.com/users/frankhale/repos","events_url":"https://api.github.com/users/frankhale/events{/privacy}","received_events_url":"https://api.github.com/users/frankhale/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-26T18:49:53Z","updated_at":"2016-06-08T06:27:29Z","closed_at":null,"body":"Since this project is inspired by Electron-Prebuilt it'd be fantastic if I could just depend on this in my project and spawn NWjs directly in my app to start it without specifying anything else. \r\n\r\nFor instance, let's say my project depends on this: I run an `npm install` and `npm start` and my app spawns NWjs and my app starts up. Notice I did not have to specify any CLI commands to download a specific version of NWjs before I ran `npm start` and I didn't first install this into global.\r\n\r\nThis is the primary feature (I miss here) I use when I am using Electron-Prebuilt because it takes away any of the extra knowledge or user intervention to run your app in Electron. All dependencies are just ordinary npm modules and an `npm install` takes care of all the heavy lifting.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/egoist/nwjs/issues/comments/224500701","html_url":"https://github.com/egoist/nwjs/issues/12#issuecomment-224500701","issue_url":"https://api.github.com/repos/egoist/nwjs/issues/12","id":224500701,"user":{"login":"fritx","id":6647633,"avatar_url":"https://avatars.githubusercontent.com/u/6647633?v=3","gravatar_id":"","url":"https://api.github.com/users/fritx","html_url":"https://github.com/fritx","followers_url":"https://api.github.com/users/fritx/followers","following_url":"https://api.github.com/users/fritx/following{/other_user}","gists_url":"https://api.github.com/users/fritx/gists{/gist_id}","starred_url":"https://api.github.com/users/fritx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fritx/subscriptions","organizations_url":"https://api.github.com/users/fritx/orgs","repos_url":"https://api.github.com/users/fritx/repos","events_url":"https://api.github.com/users/fritx/events{/privacy}","received_events_url":"https://api.github.com/users/fritx/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T06:27:29Z","updated_at":"2016-06-08T06:27:29Z","body":"Or maybe using nwjs?\r\n\r\n```js\r\n\"scripts\": {\r\n  \"postinstall\": \"nw install 0.12.3 && nw use 0.12.3\",\r\n  \"start\": \"nw app\"\r\n},\r\n\"devDependencies\": {\r\n  \"nwjs\": \"*\"\r\n}\r\n```"}}
{"actor":{"display_login":"fritx"}}