feat: less bad installations
This commit is contained in:
@ -26,6 +26,13 @@ impl AppData {
|
||||
}
|
||||
} else {
|
||||
profile.mods.remove(&key);
|
||||
for (ckey, pkg) in self.pkgs.get_all() {
|
||||
if let Some(loc) = pkg.loc {
|
||||
if loc.dependencies.contains(&key) {
|
||||
self.toggle_package(ckey, false)?;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Ok(())
|
||||
|
Reference in New Issue
Block a user