Skip to content

Commit 4e06fa0

Browse files
committed
Update repair logic
1 parent 3d35744 commit 4e06fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PowerShell/Microsoft.WinGet.Client.Engine/Helpers/AppxModuleHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ public void RegisterAppInstaller(string releaseTag)
155155
}
156156

157157
var packageVersion = new Version(versionFromLocalPackage);
158-
if (packageVersion.Major == 1 && packageVersion.Minor > 15)
158+
if (packageVersion.Major == 1 && packageVersion.Minor > 15 && packageVersion.Minor < 28)
159159
{
160160
releaseTag = $"1.{packageVersion.Minor - 15}.{packageVersion.Build}";
161161
}

0 commit comments

Comments
 (0)