code: func (p *defaultProvisioner) provisionElectronFinishDarwinRename(appName string, paths Paths) (err error) {
  	var appDirectory = filepath.Join(paths.electronDirectory, appName+".app")
  	var frameworksDirectory = filepath.Join(appDirectory, "Contents", "Frameworks")
  	var helper = filepath.Join(frameworksDirectory, appName+" Helper.app")
  	for _, r := range []rename{
  		{src: filepath.Join(paths.electronDirectory, "Electron.app"), dst: appDirectory},
  		{src: filepath.Join(appDirectory, "Contents", "MacOS", "Electron"), dst: paths.AppExecutable()},
  		{src: filepath.Join(frameworksDirectory, "Electron Helper.app"), dst: filepath.Join(helper)},
  		{src: filepath.Join(helper, "Contents", "MacOS", "Electron Helper"), dst: filepath.Join(helper, "Contents", "MacOS", appName+" Helper")},
  	} {
  		astilog.Debugf("Renaming %s into %s", r.src, r.dst)
  		if err = os.Rename(r.src, r.dst); err != nil {
  			return errors.Wrapf(err, "renaming %s into %s failed", r.src, r.dst)
  		}
  	}
  	return
  }
docs: // provisionElectronFinishDarwinRename renames the proper darwin folders