Skip to content

Commit

Permalink
fix nit
Browse files Browse the repository at this point in the history
  • Loading branch information
ryfu-msft committed Oct 30, 2024
1 parent 5e93887 commit ead06d3
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ internal class AppxModuleHelper
private const string License = "License1.xml";

// Format of a dependency package such as 'x64\Microsoft.VCLibs.140.00.UWPDesktop_14.0.33728.0_x64.appx'
private const string ExtractedDependencyPath = "{0}\\{1}_{2}_{3}.appx";
private const string ExtractedDependencyPath = "{0}\\{1}_{2}_{0}.appx";

// Dependencies
// VCLibs
Expand Down Expand Up @@ -350,10 +350,10 @@ private Dictionary<string, string> GetDependenciesByArch(PackageDependency depen
Dictionary<string, string> appxPackages = new Dictionary<string, string>();
var arch = RuntimeInformation.OSArchitecture;

string appxPackageX64 = string.Format(ExtractedDependencyPath, "x64", dependencies.Name, dependencies.Version, "x64");
string appxPackageX86 = string.Format(ExtractedDependencyPath, "x86", dependencies.Name, dependencies.Version, "x86");
string appxPackageArm = string.Format(ExtractedDependencyPath, "arm", dependencies.Name, dependencies.Version, "arm");
string appxPackageArm64 = string.Format(ExtractedDependencyPath, "arm", dependencies.Name, dependencies.Version, "arm64");
string appxPackageX64 = string.Format(ExtractedDependencyPath, "x64", dependencies.Name, dependencies.Version);
string appxPackageX86 = string.Format(ExtractedDependencyPath, "x86", dependencies.Name, dependencies.Version);
string appxPackageArm = string.Format(ExtractedDependencyPath, "arm", dependencies.Name, dependencies.Version);
string appxPackageArm64 = string.Format(ExtractedDependencyPath, "arm", dependencies.Name, dependencies.Version);

if (arch == Architecture.X64)
{
Expand Down

0 comments on commit ead06d3

Please sign in to comment.