Skip to content

Commit 75d7bc2

Browse files
committed
✨ Support for Windows on ARM #128
1 parent 7664e91 commit 75d7bc2

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ obj
1414
/src/Xecrets.Cli/TestCli/test.mp4
1515
/src/Xecrets.Cli/TestCli/test.mp4.axx
1616
.DS_Store
17+
.idea/
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
https://go.microsoft.com/fwlink/?LinkID=208121.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Configuration>Release</Configuration>
8+
<Platform>Any CPU</Platform>
9+
<PublishDir>bin\Release\net8.0\publish\win-arm64\</PublishDir>
10+
<PublishProtocol>FileSystem</PublishProtocol>
11+
<_TargetId>Folder</_TargetId>
12+
<TargetFramework>net8.0</TargetFramework>
13+
<RuntimeIdentifier>win-arm64</RuntimeIdentifier>
14+
<SelfContained>true</SelfContained>
15+
<PublishSingleFile>true</PublishSingleFile>
16+
<PublishReadyToRun>false</PublishReadyToRun>
17+
<PublishTrimmed>true</PublishTrimmed>
18+
</PropertyGroup>
19+
</Project>

win-arm64-zip.ps1

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Param ([Parameter(Mandatory=$true)][string]$Version)
2+
3+
$workdir = (Get-Location)
4+
Push-Location -Path "src\Xecrets.Cli\bin\Release\net8.0\publish\win-arm64"
5+
try {
6+
$compress = @{
7+
Path = "XecretsCli.exe"
8+
DestinationPath = "XecretsCli-Win-arm64-${Version}.zip"
9+
}
10+
Compress-Archive @compress
11+
}
12+
finally
13+
{
14+
Pop-Location
15+
}

0 commit comments

Comments
 (0)