{ "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", + "resolved": "http://registry.npm.taobao.org/forever-agent/download/forever-agent-0.6.1.tgz", "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=" }, "form-data": { ...
{Object} opts 下载的一些选项 */ var downloadAndroidPkg = function (opts) { if (downLoadHandler) { clearTimeout(downLoadHandler); downLoadHandler = null; } var stTime = new Date().getTime(); downLoadHandler = setTimeout(function () { if (new Date().getTime() - stTime < 3000) { ...