code: func (p *defaultProvisioner) provisionElectron(ctx context.Context, paths Paths, s ProvisionStatus, appName, os, arch string) error {
  	return p.provisionPackage(ctx, paths, s.Electron[provisionStatusElectronKey(os, arch)], p.moverElectron, "Electron", VersionElectron, paths.ElectronUnzipSrc(), paths.ElectronDirectory(), func() (err error) {
  		switch os {
  		case "darwin":
  			if err = p.provisionElectronFinishDarwin(appName, paths); err != nil {
  				return errors.Wrap(err, "finishing provisioning electron for darwin systems failed")
  			}
  		default:
  			astilog.Debug("System doesn't require finshing provisioning electron, moving on...")
  		}
  		return
  	})
  }
docs: // provisionElectron provisions electron