diff options
Diffstat (limited to 'src-tauri/src/mod_management')
-rw-r--r-- | src-tauri/src/mod_management/mod.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src-tauri/src/mod_management/mod.rs b/src-tauri/src/mod_management/mod.rs index 90dc85da..75d63972 100644 --- a/src-tauri/src/mod_management/mod.rs +++ b/src-tauri/src/mod_management/mod.rs @@ -57,6 +57,8 @@ pub struct ModJson { name: String, #[serde(rename = "ThunderstoreModString")] thunderstore_mod_string: Option<String>, + #[serde(rename = "Version")] + version: Option<String>, } /// Gets all currently installed and enabled/disabled mods to rebuild `enabledmods.json` @@ -212,6 +214,7 @@ fn parse_installed_mods(game_install: GameInstall) -> Result<Vec<NorthstarMod>, let ns_mod = NorthstarMod { name: parsed_mod_json.name, + version: parsed_mod_json.version, thunderstore_mod_string: thunderstore_mod_string, enabled: false, // Placeholder directory: mod_directory, |