in src/hardware/hardware_detector.py [0:0]
def detect_apple_silicon(self) -> bool:
if platform.system() != "Darwin":
return False
cpu_brand = self._run_cmd(['sysctl', '-n', 'machdep.cpu.brand_string'])
return 'Apple' in cpu_brand