code: function (options, callback) {
    options.logger('Creating temporary directory')
  
    async.waterfall([
      async.apply(temp.mkdir, 'electron-'),
      function (dir, callback) {
        dir = path.join(dir, options.id + '_' + options.version + '_' + options.arch)
        fs.ensureDir(dir, callback)
      }
    ], function (err, dir) {
      callback(err && new Error('Error creating temporary directory: ' + (err.message || err)), dir)
    })
  }
docs: Create temporary directory where the contents of the package will live.