Skip to content

Commit 0c08f75

Browse files
committed
fix: arm64.arm wow catalog file handling
1 parent fba8cfe commit 0c08f75

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/MobilePackageGen.Common/CBSBuilder.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,11 @@ private static List<CabinetFileInfo> GetCabinetFileInfoForCbsPackage(XmlMum.Asse
149149
normalized = Path.Combine(WindowsSideBySideManifestsFolderPath, normalized.Split('\\')[^1]);
150150
}
151151

152+
if (!fileSystem.Exists(normalized) && architecture?.Contains("arm64.arm") == true && fileSystem.Exists(normalized.Replace(@"windows\sysarm32", @"windows\system32")))
153+
{
154+
normalized = normalized.Replace(@"windows\sysarm32", @"windows\system32");
155+
}
156+
152157
CabinetFileInfo? cabinetFileInfo = null;
153158

154159
// If we end in bin, and the package is marked binary partition, this is a partition on one of the device disks, retrieve it

0 commit comments

Comments
 (0)