Skip to content

Commit 45059d4

Browse files
committed
os tahoe
Signed-off-by: Slice <[email protected]>
1 parent 2e0a53e commit 45059d4

File tree

7 files changed

+17
-14
lines changed

7 files changed

+17
-14
lines changed

makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
Clover:
44
@echo "Building Clover..."
5-
@./ebuild.sh -gcc53 -D LESS_DEBUG -D NO_GRUB_DRIVERS_EMBEDDED >/dev/null
5+
@./ebuild.sh -gcc131 -D LESS_DEBUG -D NO_GRUB_DRIVERS_EMBEDDED >/dev/null
66
@echo [BUILD] "Clover " $Version.h
77

88
clean:
9-
@./ebuild.sh -gcc53 -clean >/dev/null
9+
@./ebuild.sh -gcc131 -clean >/dev/null
1010
@rm -rf build *~
1111
@echo [CLEAN]
1212

rEFIt_UEFI/Settings/ConfigPlist/ConfigPlistClass.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ class ConfigPlistClass : public ConfigPlistAbstractClass
9090
SmbiosPlistClass::SmbiosDictClass SMBIOS_ventura = SmbiosPlistClass::SmbiosDictClass();
9191
SmbiosPlistClass::SmbiosDictClass SMBIOS_sonoma = SmbiosPlistClass::SmbiosDictClass();
9292
SmbiosPlistClass::SmbiosDictClass SMBIOS_sequoia = SmbiosPlistClass::SmbiosDictClass();
93-
SmbiosPlistClass::SmbiosDictClass SMBIOS_redwood = SmbiosPlistClass::SmbiosDictClass();
93+
SmbiosPlistClass::SmbiosDictClass SMBIOS_tahoe = SmbiosPlistClass::SmbiosDictClass();
9494
// SmbiosPlistClass::SmbiosDictClass SMBIOS_lion = SmbiosPlistClass::SmbiosDictClass();
9595
public:
9696
SystemParameters_Class SystemParameters = SystemParameters_Class();
@@ -122,7 +122,7 @@ class ConfigPlistClass : public ConfigPlistAbstractClass
122122
{"SMBIOS_ventura", SMBIOS_ventura},
123123
{"SMBIOS_sonoma", SMBIOS_sonoma},
124124
{"SMBIOS_sequoia", SMBIOS_sequoia},
125-
{"SMBIOS_redwood", SMBIOS_redwood},
125+
{"SMBIOS_tahoe", SMBIOS_tahoe},
126126
{"SystemParameters", SystemParameters},
127127
{"RtVariables", RtVariables},
128128
{"Quirks", Quirks},

rEFIt_UEFI/Settings/ConfigPlist/SMBIOSPlist.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ class SmbiosPlistClass : public ConfigPlistAbstractClass
762762
SmbiosDictClass SMBIOS_ventura = SmbiosDictClass();
763763
SmbiosDictClass SMBIOS_sonoma = SmbiosDictClass();
764764
SmbiosDictClass SMBIOS_sequoia = SmbiosDictClass();
765-
SmbiosDictClass SMBIOS_redwood = SmbiosDictClass();
765+
SmbiosDictClass SMBIOS_tahoe = SmbiosDictClass();
766766

767767
XmlDictField m_fields[16] = {
768768
{"SMBIOS", SMBIOS},
@@ -780,7 +780,7 @@ class SmbiosPlistClass : public ConfigPlistAbstractClass
780780
{"SMBIOS_ventura", SMBIOS_ventura},
781781
{"SMBIOS_sonoma", SMBIOS_sonoma},
782782
{"SMBIOS_sequoia", SMBIOS_sequoia},
783-
{"SMBIOS_redwood", SMBIOS_redwood},
783+
{"SMBIOS_tahoe", SMBIOS_tahoe},
784784
};
785785

786786
public:

rEFIt_UEFI/entry_scan/loader.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,9 @@ MacOsVersion GetOSVersion(int LoaderType, const EFI_GUID& APFSTargetUUID, const
589589
OSVersion = "14"_XS8;
590590
} else if ( Prop->getString()->stringValue().contains("Install%20macOS%20Sequoia") || Prop->getString()->stringValue().contains("Install%20macOS%2015")) {
591591
OSVersion = "15"_XS8;
592-
} else if ( Prop->getString()->stringValue().contains("Install%20macOS%20Redwood") || Prop->getString()->stringValue().contains("Install%20macOS%2016")) {
593-
OSVersion = "16"_XS8;
592+
} else if ( Prop->getString()->stringValue().contains("Install%20macOS%20Tahoe") || Prop->getString()->stringValue().contains("Install%20macOS%2016") ||
593+
Prop->getString()->stringValue().contains("Install%20macOS%2026")) {
594+
OSVersion = "26"_XS8;
594595
} else if ( Prop->getString()->stringValue().contains("Install%20macOS%2010.16")) {
595596
OSVersion = "10.16"_XS8;
596597
} else if ( Prop->getString()->stringValue().contains("Install%20macOS%20Catalina") || Prop->getString()->stringValue().contains("Install%20macOS%2010.15")) {
@@ -843,9 +844,9 @@ GetOSIconName (const MacOsVersion& OSVersion)
843844
XStringW OSIconName;
844845
if (OSVersion.isEmpty()) {
845846
OSIconName = L"mac"_XSW;
846-
} else if (OSVersion.elementAt(0) == 16 ){
847-
// Redwood
848-
OSIconName = L"redwood,mac"_XSW;
847+
} else if (OSVersion.elementAt(0) == 16 || OSVersion.elementAt(0) == 26){
848+
// Tahoe
849+
OSIconName = L"tahoe,mac"_XSW;
849850
} else if (OSVersion.elementAt(0) == 15 ){
850851
// Sequoia
851852
OSIconName = L"sequoia,mac"_XSW;

rEFIt_UEFI/libeg/XIcon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ CONST LString8 IconsNames[] = {
8787
"os_ventura", //55 == ICON_VENTURA
8888
"os_sonoma", //56 == ICON_SONOMA
8989
"os_sequoia", //57 == ICON_SEQUOIA
90-
"os_redwood", //58 == ICON_SONOMA
90+
"os_tahoe", //58 == ICON_TAHOE
9191
""
9292
};
9393
const INTN IconsNamesSize = sizeof(IconsNames) / sizeof(IconsNames[0]);

rEFIt_UEFI/refit/lib.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ void DebugPause(void);
365365
#define ICON_VENTURA (55)
366366
#define ICON_SONOMA (56)
367367
#define ICON_SEQUOIA (57)
368-
#define ICON_REDWOOD (58)
368+
#define ICON_TAHOE (58)
369369
#define BUILTIN_ICON_BACKGROUND (100)
370370
#define BUILTIN_ICON_SELECTION (101)
371371
#define BUILTIN_ICON_ANIME (102)

rEFIt_UEFI/refit/main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1587,7 +1587,9 @@ void LOADER_ENTRY::StartLoader()
15871587
strncmp(InstallerVersion, "12.", 3) &&
15881588
strncmp(InstallerVersion, "13.", 3) &&
15891589
strncmp(InstallerVersion, "14.", 3) &&
1590-
strncmp(InstallerVersion, "15.", 3)
1590+
strncmp(InstallerVersion, "15.", 3) &&
1591+
strncmp(InstallerVersion, "16.", 3) &&
1592+
strncmp(InstallerVersion, "26.", 3)
15911593
) {
15921594
InstallerVersion = NULL; // flag known version was not found
15931595
}

0 commit comments

Comments
 (0)