def METHOD_NAME(config_dir: Optional[str] = None) -> str:
    filename = "rathole.exe" if get_rathole_build_key() == "Windows" else "rathole"
    return os.path.join(config_dir or get_config_dir(), filename)