summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2022-05-25 18:51:46 -0500
committerBrian Smith <brian@dbsoft.org>2022-05-25 18:51:46 -0500
commit5e28396116a3a7817c6dbb6e52a7a2bb30f5a92a (patch)
tree39ebcd7f597497fa086bb76e0d53ced2df4f2d0b /toolkit
parentc772d0ef215ebba8feaa5813e1aac9863dbaea9c (diff)
downloaduxp-5e28396116a3a7817c6dbb6e52a7a2bb30f5a92a.tar.gz
Issue #1905 - Part 1 - Implement detection of Monterey (12.x), Intel emulation and fix required OS version check.
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/xre/nsNativeAppSupportCocoa.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/xre/nsNativeAppSupportCocoa.mm b/toolkit/xre/nsNativeAppSupportCocoa.mm
index 6da6790c15..3f292ec743 100644
--- a/toolkit/xre/nsNativeAppSupportCocoa.mm
+++ b/toolkit/xre/nsNativeAppSupportCocoa.mm
@@ -89,7 +89,7 @@ NS_IMETHODIMP nsNativeAppSupportCocoa::Start(bool *_retval)
// alert here. But the alert's message and buttons would require custom
// localization. So (for now at least) we just log an English message
// to the console before quitting.
- if (major < 10 || minor < 6) {
+ if (major < 10 || (major == 10 && minor < 7)) {
NSLog(@"Minimum OS version requirement not met!");
return NS_OK;
}