diff --git a/Readme.md b/Readme.md index 3da761b..1dc9cc4 100644 --- a/Readme.md +++ b/Readme.md @@ -58,7 +58,7 @@ And here is a full example of all configuration options: [epic_games] 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] enabled=false #On windows this is default false, on linux default true diff --git a/src/egs/get_manifests.rs b/src/egs/get_manifests.rs index f9a88d2..4ea2ac7 100644 --- a/src/egs/get_manifests.rs +++ b/src/egs/get_manifests.rs @@ -54,7 +54,7 @@ fn get_manifest_dir_path( ) -> Result { use EpicGamesManifestsError::*; if let Some(location) = &settings.location { - let path = Path::new(location).join("Data").join("Manifests"); + let path = Path::new(location); if path.exists() { return Ok(path.to_str().unwrap().to_string()); } else {