1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/lib/python/qmk/cli/doctor/macos.py

14 lines
312 B
Python
Raw Normal View History

import platform
from milc import cli
from .check import CheckStatus
def os_test_macos():
"""Run the Mac specific tests.
"""
cli.log.info("Detected {fg_cyan}macOS %s (%s){fg_reset}.", platform.mac_ver()[0], 'Apple Silicon' if platform.processor() == 'arm' else 'Intel')
return CheckStatus.OK