Skip to content

Commit c1be239

Browse files
committed
Missing condition that would allow for broken version repairs
1 parent 82d1efd commit c1be239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/PatchKit Patcher/Scripts/AppUpdater/AppUpdaterStrategyResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public StrategyType Resolve([NotNull] AppUpdaterContext context)
6666
{
6767
_logger.LogDebug("Resolving best strategy for updating...");
6868

69-
if (context.App.IsFullyInstalled())
69+
if (context.App.IsFullyInstalled() || context.App.IsInstallationBroken())
7070
{
7171
int installedVersionId = context.App.GetInstalledVersionId();
7272
_logger.LogTrace("installedVersionId = " + installedVersionId);

0 commit comments

Comments
 (0)