pass active plugins to fomod installer

This commit is contained in:
2026-03-11 00:30:50 +01:00
parent 295c9bd8c3
commit 96dda41c46
5 changed files with 38 additions and 13 deletions

View File

@@ -56,3 +56,10 @@ pub fn walk_all_files(
Ok(a)
}
pub fn is_plugin_file(filename: impl AsRef<Path>) -> bool {
filename
.as_ref()
.extension()
.is_some_and(|ext| ext == "esp" || ext == "esm" || ext == "esl")
}