model: add file_count_preference for multi-file selection support

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ia27c829dbcc21a7fcfc8e6f67f9e33276a6a6964
This commit is contained in:
raf 2026-02-28 23:40:34 +03:00
commit 0288be07f9
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
4 changed files with 19 additions and 5 deletions

View file

@ -1232,6 +1232,7 @@ mod tests {
projects: None,
export_profiles: None,
export_server_side_projects_to_client: None,
file_count_preference: None,
},
profile_config,
export_path: PathBuf::from("/tmp/export"),
@ -1362,6 +1363,7 @@ mod tests {
projects: None,
export_profiles: None,
export_server_side_projects_to_client: None,
file_count_preference: None,
};
assert_eq!(get_project_type_dir(&ProjectType::Mod, &config), "mods");
@ -1398,6 +1400,7 @@ mod tests {
projects: None,
export_profiles: None,
export_server_side_projects_to_client: None,
file_count_preference: None,
};
assert_eq!(
@ -1462,6 +1465,7 @@ mod tests {
projects: None,
export_profiles: None,
export_server_side_projects_to_client: None,
file_count_preference: None,
};
let mut context = create_test_context(None);
@ -1492,6 +1496,7 @@ mod tests {
projects: None,
export_profiles: None,
export_server_side_projects_to_client: None,
file_count_preference: None,
};
let mut context = create_test_context(None);