code: function unZipFile(zipFileName) {
    yauzl.open(zipFileName, {
      lazyEntries: true
    }, function (err, zipFile) {
      if (err) {
        throw err
      }
      zipFile.readEntry()
      zipFile.on('entry', function (entry) {
        if (targetEntry === entry.fileName) {
          mkdirp.sync(writeFolder)
          zipFile.openReadStream(entry, function (errInReadStream, readStream) {
            if (errInReadStream) {
              throw errInReadStream
            }
            readStream.pipe(fs.createWriteStream(binPath))
            readStream.on('end', function () {
              zipFile.readEntry()
              console.log('unzip completed ' + binPath)
              fs.chmodSync(binPath, '755')
              console.log('chmod 755')
            })
          })
        } else {
          zipFile.readEntry()
        }
      })
    })
  }
docs: 解压
  
  - 遍历压缩包找到对应的文件并解压到 vendor 目录下
  - 修改该文件的权限为 755
  
  @param zipFileName