Update Epic default location to the manifest fodler

This commit is contained in:
Philip
2021-10-02 15:41:50 +02:00
parent 97ff798c9d
commit 9e310555b8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ And here is a full example of all configuration options:
[epic_games] [epic_games]
enabled=true #On windows this is default true, on linux default false enabled=true #On windows this is default true, on linux default false
location="C:\\ProgramData\\Epic\\EpicGamesLauncher" #If this value is not defined, the tool will try to find it automatically (only windows). If it can't find it, it will fail and tell you. location="C:\\ProgramData\\Epic\\EpicGamesLauncher\\Data\\Manifests" #If this value is not defined, the tool will try to find it automatically (only windows). If it can't find it, it will fail and tell you.
[legendary] [legendary]
enabled=false #On windows this is default false, on linux default true enabled=false #On windows this is default false, on linux default true
+1 -1
View File
@@ -54,7 +54,7 @@ fn get_manifest_dir_path(
) -> Result<String, EpicGamesManifestsError> { ) -> Result<String, EpicGamesManifestsError> {
use EpicGamesManifestsError::*; use EpicGamesManifestsError::*;
if let Some(location) = &settings.location { if let Some(location) = &settings.location {
let path = Path::new(location).join("Data").join("Manifests"); let path = Path::new(location);
if path.exists() { if path.exists() {
return Ok(path.to_str().unwrap().to_string()); return Ok(path.to_str().unwrap().to_string());
} else { } else {