def get_platform_dir():
    """Either get the executable or raise an error"""
    check_system()
    return os.path.join(SELF_DIR, "bin", sys.platform)
Either get the executable or raise an error
airtest/utils/ffmpeg/ffmpeg_setter.py