fix ubisoft uninstall all

This commit is contained in:
pointfeev 2023-06-13 21:30:39 -04:00
parent a0c112494b
commit 695aa650b8

View file

@ -455,7 +455,7 @@ internal sealed partial class SelectForm : CustomForm
{
if (Program.Canceled)
return;
if (Program.IsGameBlocked(name, gameDirectory) || !programsToScan.Any(c => c.platform is Platform.Ubisoft && c.id == gameId))
if (!uninstallAll && (Program.IsGameBlocked(name, gameDirectory) || !programsToScan.Any(c => c.platform is Platform.Ubisoft && c.id == gameId)))
continue;
AddToRemainingGames(name);
Task task = Task.Run(async () =>