Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 6ddb33a

Browse files
authored
Sign xstate binary from correct location (#19470)
* Sign xstate binary from correct location * Only submit xstate binary for x86
1 parent f1c9358 commit 6ddb33a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/sign.builds

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,13 @@
1717
<!-- Ensure cross targeting components are signed properly -->
1818
<WindowsNativeLocation Include="$(BinDir)$(CrossTargetComponentFolder)\*.exe" />
1919
<WindowsNativeLocation Include="$(BinDir)$(CrossTargetComponentFolder)\*.dll" />
20+
</ItemGroup>
21+
22+
<ItemGroup Condition="'$(BuildArch)' == 'x86'">
2023
<!-- Sign api-ms-win-core-xstate-l2-1-0 binary as it is only catalog signed in the current SDK. -->
21-
<WindowsNativeLocation Include="$(BinDir)Redist\ucrt\DLLs\api-ms-win-core-xstate-l2-1-0.dll" />
24+
<WindowsNativeLocation Include="$(BinDir)Redist\ucrt\DLLs\$(BuildArch)\api-ms-win-core-xstate-l2-1-0.dll" />
2225
</ItemGroup>
26+
2327
<!-- sign the cross targeted files as well -->
2428
<ItemGroup Condition="'$(CrossTargetComponentFolder)' != ''">
2529
<WindowsNativeLocation Include="$(BinDir)$(CrossTargetComponentFolder)/*.dll" />

0 commit comments

Comments
 (0)