mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Set Heroic legendary config file to new location (#370)
This commit is contained in:
@@ -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());
|
let home_dir = std::env::var("HOME").unwrap_or_else(|_| "".to_string());
|
||||||
match install_mode {
|
match install_mode {
|
||||||
InstallationMode::FlatPak => Path::new(&home_dir)
|
InstallationMode::FlatPak => Path::new(&home_dir)
|
||||||
.join(".var/app/com.heroicgameslauncher.hgl/config/legendary/installed.json"),
|
.join(".var/app/com.heroicgameslauncher.hgl/config/heroic/legendaryConfig/legendary/installed.json"),
|
||||||
InstallationMode::UserBin => Path::new(&home_dir).join(".config/legendary/installed.json"),
|
InstallationMode::UserBin => Path::new(&home_dir).join(".config/heroic/legendaryConfig/legendary/installed.json"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user