Skip to content

Commit 2223b1f

Browse files
Copilottimheuer
andauthored
Add ARM64 support for Windows ARM devices (#40)
* Initial plan * Add ARM64 support with native binaries for libsodium and git2 * Add Professional and Enterprise edition support for ARM64 * Simplify InstallationTarget to only Community edition for both architectures --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: timheuer <[email protected]>
1 parent 296dc21 commit 2223b1f

File tree

6 files changed

+16
-5
lines changed

6 files changed

+16
-5
lines changed

src/GitHubActionsVS.csproj

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,10 +89,22 @@
8989
</Compile>
9090
</ItemGroup>
9191
<ItemGroup>
92-
<Content Include="libsodium.dll">
92+
<Content Include="lib\win32\x64\libsodium.dll">
9393
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
9494
<IncludeInVSIX>true</IncludeInVSIX>
9595
</Content>
96+
<Content Include="lib\win32\x64\git2-e632535.dll">
97+
<IncludeInVSIX>true</IncludeInVSIX>
98+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
99+
</Content>
100+
<Content Include="lib\win32\arm64\libsodium.dll">
101+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
102+
<IncludeInVSIX>true</IncludeInVSIX>
103+
</Content>
104+
<Content Include="lib\win32\arm64\git2-e632535.dll">
105+
<IncludeInVSIX>true</IncludeInVSIX>
106+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
107+
</Content>
96108
<Resource Include="Resources\Run.png" />
97109
<Resource Include="Resources\OpenWebSite.png" />
98110
<Resource Include="Resources\codicon.ttf" />
@@ -105,10 +117,6 @@
105117
<Generator>VsixManifestGenerator</Generator>
106118
<LastGenOutput>source.extension.cs</LastGenOutput>
107119
</None>
108-
<Content Include="lib\win32\x64\git2-e632535.dll">
109-
<IncludeInVSIX>true</IncludeInVSIX>
110-
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
111-
</Content>
112120
<Resource Include="Resources\AddItem.png" />
113121
<Resource Include="Resources\Delete.png" />
114122
<Resource Include="Resources\Edit.png" />
1.39 MB
Binary file not shown.

src/lib/win32/arm64/libsodium.dll

218 KB
Binary file not shown.

src/lib/win32/x64/libsodium.dll

336 KB
Binary file not shown.

src/libsodium.dll

-305 KB
Binary file not shown.

src/source.extension.vsixmanifest

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 19.0)">
2121
<ProductArchitecture>amd64</ProductArchitecture>
2222
</InstallationTarget>
23+
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 19.0)">
24+
<ProductArchitecture>arm64</ProductArchitecture>
25+
</InstallationTarget>
2326
</Installation>
2427
<Prerequisites>
2528
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,)" DisplayName="Visual Studio core editor" />

0 commit comments

Comments
 (0)