def write_makeselfinst
      makeselfinst_staging_path = File.join(staging_dir, "makeselfinst")
      render_template(resource_path("makeselfinst.erb"),
        destination: makeselfinst_staging_path,
        variables: {
          install_dir: project.install_dir,
        }
      )
      FileUtils.chmod(0755, makeselfinst_staging_path)
    end
def write_makeselfinst
      makeselfinst_staging_path = File.join(staging_dir, "makeselfinst")
      render_template(resource_path("makeselfinst.erb"),
        destination: makeselfinst_staging_path,
        variables: {
          install_dir: project.install_dir,
        }
      )
      FileUtils.chmod(0755, makeselfinst_staging_path)
    end
Render a makeselfinst in the staging directory using the supplied ERB
 template. This file will be used to move the contents of the self-
 extracting archive into place following extraction.

 @return [void]