diff options
author | Justin Kim <jeongseok.kim@sk.com> | 2018-10-24 19:30:45 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2018-11-05 20:17:42 +0200 |
commit | cec90e670938d0d2ae8f02f2ab32a93556ee0cda (patch) | |
tree | 97c9b3a78148e5cf2afd404ad1c213e0ec1577e7 | |
parent | 2f3298477eaf26eb724474f1ad943a50fee148b2 (diff) |
Add support for MacOSX 10.14
https://bugzilla.gnome.org/show_bug.cgi?id=797331
-rw-r--r-- | cerbero/enums.py | 1 | ||||
-rw-r--r-- | cerbero/utils/__init__.py | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/cerbero/enums.py b/cerbero/enums.py index b9e570f4..3d8226ac 100644 --- a/cerbero/enums.py +++ b/cerbero/enums.py @@ -116,6 +116,7 @@ class DistroVersion: OS_X_EL_CAPITAN = 'osx_el_capitan' OS_X_SIERRA = 'osx_sierra' OS_X_HIGH_SIERRA = 'osx_high_sierra' + OS_X_MOJAVE = 'osx_mojave' IOS_8_0 = 'ios_08_0' IOS_8_1 = 'ios_08_1' IOS_8_2 = 'ios_08_2' diff --git a/cerbero/utils/__init__.py b/cerbero/utils/__init__.py index 63ea5301..27d0ae33 100644 --- a/cerbero/utils/__init__.py +++ b/cerbero/utils/__init__.py @@ -293,7 +293,9 @@ def system_info(): elif platform == Platform.DARWIN: distro = Distro.OS_X ver = pplatform.mac_ver()[0] - if ver.startswith('10.13'): + if ver.startswith('10.14'): + distro_version = DistroVersion.OS_X_MOJAVE + elif ver.startswith('10.13'): distro_version = DistroVersion.OS_X_HIGH_SIERRA elif ver.startswith('10.12'): distro_version = DistroVersion.OS_X_SIERRA |