minor but useful install info addition

This commit is contained in:
pointfeev 2022-09-18 03:13:52 -04:00
parent 8d62fc8d0d
commit d35f9b8be6

View file

@ -65,6 +65,7 @@ internal partial class InstallForm : CustomForm
UpdateUser($"Repairing Paradox Launcher . . . ", InstallationLog.Operation);
_ = await Repair(this, selection);
}
UpdateUser($"Checking directories for {selection.Name} . . . ", InstallationLog.Operation);
IEnumerable<string> invalidDirectories = (await selection.RootDirectory.GetExecutables())
.Where(d => !selection.ExecutableDirectories.Any(s => d.path.Contains(s.directory)))
.Select(d => Path.GetDirectoryName(d.path));