File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ New-Item -ItemType Directory -Force -Path $PSScriptRoot\deps\cimgui\linux-x64 |
1818New-Item - ItemType Directory - Force - Path $PSScriptRoot \deps\cimgui\osx | Out-Null
1919New-Item - ItemType Directory - Force - Path $PSScriptRoot \deps\cimgui\win- x86 | Out-Null
2020New-Item - ItemType Directory - Force - Path $PSScriptRoot \deps\cimgui\win- x64 | Out-Null
21+ New-Item - ItemType Directory - Force - Path $PSScriptRoot \deps\cimgui\win- arm64 | Out-Null
2122
2223[Net.ServicePointManager ]::SecurityProtocol = [Net.SecurityProtocolType ]::Tls12
2324
@@ -46,6 +47,18 @@ if( -not $? )
4647
4748Write-Host " - cimgui.dll (x64)"
4849
50+ $client.DownloadFile (
51+ " $repository /releases/download/$tag /cimgui.win-arm64.dll" ,
52+ " $PSScriptRoot /deps/cimgui/win-arm64/$configuration /cimgui.dll" )
53+ if ( -not $? )
54+ {
55+ $msg = $Error [0 ].Exception.Message
56+ Write-Error " Couldn't download arm64 cimgui.dll. This most likely indicates the Windows native build failed."
57+ exit
58+ }
59+
60+ Write-Host " - cimgui.dll (arm64)"
61+
4962$client.DownloadFile (
5063 " $repository /releases/download/$tag /cimgui.so" ,
5164 " $PSScriptRoot /deps/cimgui/linux-x64/cimgui.so" )
Original file line number Diff line number Diff line change 3737 <PackagePath >runtimes/win-x64/native</PackagePath >
3838 <Pack >true</Pack >
3939 </Content >
40+ <Content Include =" ..\..\deps\cimgui\win-arm64\cimgui.dll" >
41+ <PackagePath >runtimes/win-arm64/native</PackagePath >
42+ <Pack >true</Pack >
43+ </Content >
4044 <Content Include =" ..\..\deps\cimgui\linux-x64\cimgui.so" >
4145 <PackagePath >runtimes/linux-x64/native/libcimgui.so</PackagePath >
4246 <Pack >true</Pack >
You can’t perform that action at this time.
0 commit comments