Skip to content

Commit

Permalink
Set Heroic legendary config file to new location (#370)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipK authored Sep 18, 2023
1 parent bea1d43 commit 5694be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platforms/heroic/heroic_platform.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
}
}

Expand Down

0 comments on commit 5694be0

Please sign in to comment.