Issue #1905 - Part 1 - Implement detection of Monterey (12.x), Intel emulation and fix required OS version check.

This commit is contained in:
Brian Smith 2022-05-25 18:51:46 -05:00 committed by roytam1
commit 8cee7f2b18
3 changed files with 45 additions and 3 deletions

View file

@ -25,9 +25,12 @@ public:
static bool OnMojaveOrLater();
static bool OnCatalinaOrLater();
static bool OnBigSurOrLater();
static bool OnMontereyOrLater();
static bool IsAtLeastVersion(int32_t aMajor, int32_t aMinor, int32_t aBugFix=0);
static bool ProcessIsRosettaTranslated();
// These are utilities that do not change or depend on the value of mOSXVersion
// and instead just encapsulate the encoding algorithm. Note that GetVersion
// actually adjusts to the lowest supported OS, so it will always return