def METHOD_NAME(install_dir):
    # Remove host script
    host_path = os.path.join(install_dir, HOST_FILENAME)
    if os.path.isfile(host_path):
        os.remove(host_path)
    # Remove manifest file
    xdg_paths = get_xdg_config_paths()
    for path in xdg_paths:
        if not os.path.exists(path):
            continue
        message_hosts = os.path.join(path, "NativeMessagingHosts")
        manifest_path = os.path.join(message_hosts, HOST_MANIFEST_FILENAME)
        if os.path.isfile(manifest_path):
            os.remove(manifest_path)