From 5694be0cbee7d8491eff5201f375f080a01316a7 Mon Sep 17 00:00:00 2001 From: Philip Kristoffersen Date: Mon, 18 Sep 2023 16:07:09 +0200 Subject: [PATCH] Set Heroic legendary config file to new location (#370) --- src/platforms/heroic/heroic_platform.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platforms/heroic/heroic_platform.rs b/src/platforms/heroic/heroic_platform.rs index c923e52..c64155c 100644 --- a/src/platforms/heroic/heroic_platform.rs +++ b/src/platforms/heroic/heroic_platform.rs @@ -37,8 +37,8 @@ fn get_installed_json_location(install_mode: &InstallationMode) -> PathBuf { let home_dir = std::env::var("HOME").unwrap_or_else(|_| "".to_string()); match install_mode { InstallationMode::FlatPak => Path::new(&home_dir) - .join(".var/app/com.heroicgameslauncher.hgl/config/legendary/installed.json"), - InstallationMode::UserBin => Path::new(&home_dir).join(".config/legendary/installed.json"), + .join(".var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary/installed.json"), + InstallationMode::UserBin => Path::new(&home_dir).join(".config/heroic/legendaryConfig/legendary/installed.json"), } }