Skip to content

Commit

Permalink
[0.62] Fix deploy bug when framework packages are installed but not f…
Browse files Browse the repository at this point in the history
…or all archs (#5840)

* [0.62] Fix deploy bug when framework packages are installed but not for all archs

* Change files

Co-authored-by: Alexander Sklar <[email protected]>
  • Loading branch information
asklar and Alexander Sklar authored Aug 26, 2020
1 parent a2797b3 commit 7feb8bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "[0.62] Fix deploy bug when framework packages are installed but not for all archs",
"packageName": "react-native-windows",
"email": "[email protected]",
"dependentChangeType": "patch",
"date": "2020-08-25T21:42:13.886Z"
}
2 changes: 1 addition & 1 deletion vnext/local-cli/runWindows/utils/WindowsStoreAppUtils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function Install-AppDependencies {
$xml=[xml] (gc $AppxManifestPath);
$packageNamesToInstall = $xml.Package.Dependencies.PackageDependency |
Where-Object {
$installed = Get-AppxPackage $_.Name;
$installed = Get-AppxPackage $_.Name | Where-Object -Property Architecture -EQ -Value $Architecture;
$installed -eq $null -or $installed.Version -lt $_.MinVersion
} |
% { $_.Name };
Expand Down

0 comments on commit 7feb8bb

Please sign in to comment.