added game type

This commit is contained in:
2026-03-19 13:07:06 +01:00
parent ed9e23ed3b
commit 03a127f24b
8 changed files with 245 additions and 8 deletions

View File

@@ -34,7 +34,8 @@ pub fn handle_nxm(root_config: &mut RootConfig, raw_url: &str) -> anyhow::Result
unpack(root_config, &mod_id, dl_file)?;
let new_mod = ModConfig::from_mod_info(&mod_id, &mod_id, &mod_info);
let file_id: u64 = nxm_url.file.parse()?;
let new_mod = ModConfig::from_mod_info(&mod_id, &mod_id, &mod_info, file_id);
root_config.add_mod(&new_mod);