Class: IESD::DMG::InstallOSX

Inherits:
HDIUtil::DMG show all
Defined in:
lib/iesd/InstallESD/InstallOSX.dmg.rb

Overview

Install OS X.dmg

The installer dmg for OS X Mavericks and later. It contains an Install OS X.app. It’s generated by ‘createinstallmedia`, a tool come with the installer app.

Instance Attribute Summary

Attributes inherited from HDIUtil::DMG

#url

Instance Method Summary collapse

Methods inherited from HDIUtil::DMG

#edit, #initialize, #show, #update, #valid?

Constructor Details

This class inherits a constructor from HDIUtil::DMG

Instance Method Details

#export(options) ⇒ Object

Export to a new DMG.

options - The Dictionary of the export options



14
15
16
17
18
# File 'lib/iesd/InstallESD/InstallOSX.dmg.rb', line 14

def export options
  show { |mountpoint|
    IESD::APP::InstallOSX.new(Dir[File.join(mountpoint, "*.app")][0]).export options
  }
end