added type Link

This commit is contained in:
2026-03-03 20:59:37 +01:00
parent 63171acbe4
commit e9b7aedb6f
3 changed files with 57 additions and 11 deletions

View File

@@ -44,8 +44,8 @@ impl LoadOrder {
let mod_plugins: Vec<PathBuf> = installed_mod
.files()
.iter()
.filter(|f| Self::is_plugin_file(&f.0))
.map(|(from, _)| mod_source_root.join(from))
.filter(|f| Self::is_plugin_file(&f.dst))
.map(|link| mod_source_root.join(&link.src))
.collect();
let refs: Vec<_> = mod_plugins.iter().map(|e| e.as_path()).collect();