Skip to content

Commit

Permalink
Merge pull request #2 from kevinmcox/MacBookPro6,1-+-macOS-10.14.2
Browse files Browse the repository at this point in the history
Mac book pro6,1 + mac os 10.14.2
  • Loading branch information
tuxudo authored Dec 5, 2018
2 parents 162adde + 99d201e commit b380255
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions supported_os_model.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public function process($data)
$parser->parse($data);
$plist = $parser->toArray();

$most_current_os = "10.14.1"; // Update this as Apple releases new point updates
$most_current_os = "10.14.2"; // Update this as Apple releases new point updates

if (strpos($plist['machine_id'], 'iMacPro') !== false) {
$model_num = preg_replace("/[^0-9]/", "", $plist['machine_id']);
Expand Down Expand Up @@ -83,7 +83,7 @@ public function process($data)
$model_num = preg_replace("/[^0-9]/", "", $plist['machine_id']);
if ($model_num >= 91) {
$plist['highest_supported'] = $most_current_os;
} else if ($model_num >= 71) {
} else if ($model_num >= 61) {
$plist['highest_supported'] = "10.13.6";
} else if ($model_num >= 31) {
$plist['highest_supported'] = "10.11.6";
Expand Down

0 comments on commit b380255

Please sign in to comment.