<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<installer-gui-script minSpecVersion="1">
    <options type="firmware" customize="never" hostArchitectures="i386" rootVolumeOnly="true"/>
    <title>SU_TITLE</title>
    <script>
</script>
    <volume-check script="VolumeCheck()"/>
    <installation-check script="InstallationCheck()"/>
    <script>
function InstallationCheck(prefix) {
	var models = ['iMac13,1',];
	var model = system.sysctl('hw.model');
	if (models.indexOf(model) == -1) {
		my.result.message = system.localizedString('ERROR_1');
		my.result.type = 'Fatal';
		return false;
	}
	var versions = ['IM131.88Z.010A.B00.1209042338',];
	var rom = system.ioregistry.fromPath('IODeviceTree:/rom@0');
	if (!rom || !(rom.version) || versions.indexOf(rom.version) == -1) {
		my.result.message = system.localizedString('ERROR_1');
		my.result.type = 'Fatal';
		return false;
	}
	if (system.compareVersions(system.version.ProductVersion, '10.8.1') &lt; 0) {
		my.result.message = system.localizedStringWithFormat('ERROR_0', '10.8.1');
		my.result.type = 'Fatal';
		return false;
	}
	return true;
}
function VolumeCheck(prefix) {
	if (system.env.OS_INSTALL == 1) return true;
	var hasOS = system.files.fileExistsAtPath(my.target.mountpoint + "/System/Library/CoreServices/SystemVersion.plist");
	if (!hasOS || system.compareVersions(my.target.systemVersion.ProductVersion, '10.8.1') &lt; 0) {
		my.result.message = system.localizedStringWithFormat('ERROR_0', '10.8.1');
		my.result.type = 'Fatal';
		return false;
	}
	return true;
}
</script>
    <platforms>
        <client arch="i386"/>
        <server arch="i386"/>
    </platforms>
    <choices-outline ui="SoftwareUpdate">
        <line choice="su"/>
    </choices-outline>
    <choices-outline>
        <line choice="su"/>
    </choices-outline>
    <choice id="su" title="SU_TITLE" versStr="SU_VERS" description="SU_DESCRIPTION" description-mime-type="text/html" secondaryDescription="SU_SERVERCOMMENT" suDisabledGroupID="iMacEFIUpdate2.0" start_selected="true">
        <pkg-ref id="iMac" auth="Root" packageIdentifier="com.apple.pkg.iMacEFIUpdate" onConclusion="RequireRestart">iMacEFIUpdate.pkg</pkg-ref>
    </choice>
    <localization>
        <strings language="pl"><![CDATA["SU_TITLE" = "Uaktualnienie oprogramowania sprzętowego EFI iMaca";
"SU_VERS" = "2.0";
"SU_SERVERCOMMENT" = "Dla komputerów klienckich oraz serwerów";
"SU_DESCRIPTION" = '<HTML><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <title></title>
  <style type="text/css">
	p {margin-left: 0.0px; margin-top: 0.0px; font: 11.0px "Lucida Grande";}
  </style>
</head>
<body>
<p>
Uaktualnienie oprogramowania sprzętowego EFI iMaca (z końca 2012 roku) 2.0
</p>
<p>
To uaktualnienie jest zalecane dla wszystkich modeli iMaca (z końca 2012 roku). To uaktualnienie zawiera ogólne poprawki w zakresie wydajności funkcji uśpienia i Thunderbolt, a także poprawia zgodność w przypadku korzystania z pasma 5 GHz w sieci Wi-Fi.
</p>
</body>
</html>
';
]]></strings>
    </localization>
    <readme mime-type="text/html"><![CDATA[<HTML><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <meta http-equiv="Content-Style-Type" content="text/css">
  <title></title>
  <style type="text/css">
	p {margin: 0.0px 0.0px 0.0px 0.0px; font: 11px Lucida Grande;}
  </style>
</head>
<body>
<p>
Uaktualnienie oprogramowania sprzętowego EFI iMaca uaktualni oprogramowanie sprzętowe EFI na komputerze iMac. Komputer musi być połączony przewodem zasilającym ze sprawnym źródłem zasilania. Po ponownym uruchomieniu iMaca wyświetlony zostanie szary ekran z paskiem statusu wskazującym postęp uaktualniania. Uaktualnianie potrwa kilka minut. Podczas dokonywania uaktualnienia nie przerywaj tej operacji ani nie wyłączaj zasilania iMaca.
</p>
</body>
</html>
]]></readme>

	<pkg-ref id='iMac' installKBytes='5435' version='2.0.0.0.1.1355517411'/>
</installer-gui-script>