Commit 89971e4d authored by Justin Kim's avatar Justin Kim Committed by Sebastian Dröge
Browse files
parent 5b665a25
......@@ -120,6 +120,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'
......
......@@ -295,7 +295,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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment