change platform path to match downloaded one

This commit is contained in:
Emily 2016-07-15 11:17:54 +09:00
parent 5c36709ff2
commit 4f20a15907

View file

@ -16,7 +16,7 @@ try {
// do nothing
}
var platform = os.platform()
var platform = process.env.npm_config_platform
function onerror (err) {
throw err