{"action":"created","issue":{"url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/168","labels_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/168/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/168/comments","events_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/168/events","html_url":"https://github.com/mapbox/node-pre-gyp/issues/168","id":91142293,"number":168,"title":"module_path not working as expected (with github as host)","user":{"login":"JerryYangJin","id":2571533,"avatar_url":"https://avatars.githubusercontent.com/u/2571533?v=3","gravatar_id":"","url":"https://api.github.com/users/JerryYangJin","html_url":"https://github.com/JerryYangJin","followers_url":"https://api.github.com/users/JerryYangJin/followers","following_url":"https://api.github.com/users/JerryYangJin/following{/other_user}","gists_url":"https://api.github.com/users/JerryYangJin/gists{/gist_id}","starred_url":"https://api.github.com/users/JerryYangJin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JerryYangJin/subscriptions","organizations_url":"https://api.github.com/users/JerryYangJin/orgs","repos_url":"https://api.github.com/users/JerryYangJin/repos","events_url":"https://api.github.com/users/JerryYangJin/events{/privacy}","received_events_url":"https://api.github.com/users/JerryYangJin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-26T03:33:38Z","updated_at":"2015-06-26T05:26:34Z","closed_at":null,"body":"Hello, I'm not sure if this is an issue, I'm trying to use node-pre-gyp to download pre-built binary from github host.\r\n\r\n`npm install mymodule` will download the pre-built binary from github host, but the module downloaded is not in the right path.\r\n\r\nFor below config, I expect downloaded binary path to be `./build/mymodule.node`. But the actual binary path is `.build` (build is not dir, it's the binary file)\r\n\r\nPlease advise, thanks!\r\n\r\n```js\r\n  \"binary\": {\r\n      \"module_name\": \"mymodule\",\r\n      \"module_path\": \"./build/\",\r\n      \"host\": \"https://github.com\",\r\n      \"package_name\": \"{platform}-{arch}.tar.gz\",\r\n      \"remote_path\": \"./myproject/dist/raw/master/v{version}/\"\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/comments/115521229","html_url":"https://github.com/mapbox/node-pre-gyp/issues/168#issuecomment-115521229","issue_url":"https://api.github.com/repos/mapbox/node-pre-gyp/issues/168","id":115521229,"user":{"login":"springmeyer","id":20300,"avatar_url":"https://avatars.githubusercontent.com/u/20300?v=3","gravatar_id":"","url":"https://api.github.com/users/springmeyer","html_url":"https://github.com/springmeyer","followers_url":"https://api.github.com/users/springmeyer/followers","following_url":"https://api.github.com/users/springmeyer/following{/other_user}","gists_url":"https://api.github.com/users/springmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/springmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/springmeyer/subscriptions","organizations_url":"https://api.github.com/users/springmeyer/orgs","repos_url":"https://api.github.com/users/springmeyer/repos","events_url":"https://api.github.com/users/springmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/springmeyer/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T05:26:34Z","updated_at":"2015-06-26T05:26:34Z","body":"Can you share a link to your code so I can understand more?"}}