From b50c32d7c3e74af4faeb92fb0e8f49108d85ff90 Mon Sep 17 00:00:00 2001 From: Gabriele Musco Date: Wed, 10 Dec 2025 09:07:44 +0100 Subject: [PATCH] fix: chaperone info detection --- src/util/steam_library_folder.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/util/steam_library_folder.rs b/src/util/steam_library_folder.rs index baa2691..d895bf7 100644 --- a/src/util/steam_library_folder.rs +++ b/src/util/steam_library_folder.rs @@ -23,8 +23,9 @@ pub fn get_all_potential_steam_main_dir_paths() -> Vec { pub fn chaperone_info_exists() -> bool { get_all_potential_steam_main_dir_paths().iter().any(|p| { - p.canonicalize() - .is_ok_and(|p| p.join("config/chaperone_info.vrchap").is_file()) + p.join("config/chaperone_info.vrchap") + .canonicalize() + .is_ok_and(|p| p.is_file()) }) } -- 2.51.2