aboutsummaryrefslogtreecommitdiff
path: root/src-tauri/src/lib.rs
diff options
context:
space:
mode:
authorGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-28 23:44:20 +0200
committerGeckoEidechse <gecko.eidechse+git@pm.me>2022-09-28 23:44:20 +0200
commit4e53e84c9dab6da2289d1a82009ed06a8a4c697b (patch)
tree80376a4d998e627986226207564d8e9d67d3ea36 /src-tauri/src/lib.rs
parenta25a4ad4fda8c84ed3fd355f9494b28025dd0bbc (diff)
downloadFlightCore-4e53e84c9dab6da2289d1a82009ed06a8a4c697b.tar.gz
FlightCore-4e53e84c9dab6da2289d1a82009ed06a8a4c697b.zip
Fix path checked for enabledmods.json
Diffstat (limited to 'src-tauri/src/lib.rs')
-rw-r--r--src-tauri/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs
index 688d33f6..fd01f0a4 100644
--- a/src-tauri/src/lib.rs
+++ b/src-tauri/src/lib.rs
@@ -391,7 +391,7 @@ pub fn get_log_list(game_install: GameInstall) -> Result<Vec<std::path::PathBuf>
/// Returns a serde json object of the parsed `enabledmods.json` file
pub fn get_enabled_mods(game_install: GameInstall) -> Result<serde_json::value::Value, String> {
let enabledmods_json_path = format!(
- "{}/R2Northstar/mods/enabledmods.json",
+ "{}/R2Northstar/enabledmods.json",
game_install.game_path
);