File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
src/ImGui.NET/build/net40 Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ if (Test-Path $PSScriptRoot\deps\cimgui\)
1515 Remove-Item $PSScriptRoot \deps\cimgui\ - Force - Recurse | Out-Null
1616}
1717New-Item - ItemType Directory - Force - Path $PSScriptRoot \deps\cimgui\linux- x64 | Out-Null
18- New-Item - ItemType Directory - Force - Path $PSScriptRoot \deps\cimgui\osx- universal | Out-Null
18+ New-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
2121
@@ -60,7 +60,7 @@ Write-Host - cimgui.so
6060
6161$client.DownloadFile (
6262 " $repository /releases/download/$tag /cimgui.dylib" ,
63- " $PSScriptRoot /deps/cimgui/osx-universal /cimgui.dylib" )
63+ " $PSScriptRoot /deps/cimgui/osx/cimgui.dylib" )
6464if ( -not $? )
6565{
6666 $msg = $Error [0 ].Exception.Message
Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ echo -n "Downloading linux x64 cimgui: "
2424curl -sfLo " $SCRIPT_ROOT /deps/cimgui/linux-x64/cimgui.so" " https://github.com/mellinoe/imgui.net-nativebuild/releases/download/$TAG /cimgui.so"
2525echo " "
2626
27- echo -n " Downloading osx x64 cimgui: "
28- curl -sfLo " $SCRIPT_ROOT /deps/cimgui/osx-x64 /cimgui.dylib" " https://github.com/mellinoe/imgui.net-nativebuild/releases/download/$TAG /cimgui.dylib"
27+ echo -n " Downloading osx universal (x86_64 and arm64) cimgui: "
28+ curl -sfLo " $SCRIPT_ROOT /deps/cimgui/osx/cimgui.dylib" " https://github.com/mellinoe/imgui.net-nativebuild/releases/download/$TAG /cimgui.dylib"
2929echo " "
3030
3131echo -n " Downloading definitions json file: "
Original file line number Diff line number Diff line change 55 <_IsMacOS Condition =" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'" >true</_IsMacOS >
66 <_IsLinux Condition =" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'" >true</_IsLinux >
77
8- <_NativeRuntime Condition =" '$(_NativeRuntime)' == '' And '$(_IsMacOS)' == 'true' And '$(PlatformTarget)' == 'x64'" >osx-x64 </_NativeRuntime >
9- <_NativeRuntime Condition =" '$(_NativeRuntime)' == '' And '$(_IsMacOS)' == 'true' And '$(PlatformTarget)' == 'ARM64'" >osx-arm64 </_NativeRuntime >
8+ <_NativeRuntime Condition =" '$(_NativeRuntime)' == '' And '$(_IsMacOS)' == 'true' And '$(PlatformTarget)' == 'x64'" >osx</_NativeRuntime >
9+ <_NativeRuntime Condition =" '$(_NativeRuntime)' == '' And '$(_IsMacOS)' == 'true' And '$(PlatformTarget)' == 'ARM64'" >osx</_NativeRuntime >
1010 <_NativeRuntime Condition =" '$(_NativeRuntime)' == '' And '$(_IsLinux)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')" >linux-x64</_NativeRuntime >
1111 <_NativeRuntime Condition =" '$(_NativeRuntime)' == '' And '$(_IsWindows)' == 'true' And ('$(Prefer32Bit)' == 'true' Or '$(PlatformTarget)' == 'x86')" >win-x86</_NativeRuntime >
1212 <_NativeRuntime Condition =" '$(_NativeRuntime)' == '' And '$(_IsWindows)' == 'true' And ('$(Prefer32Bit)' == 'false' Or '$(PlatformTarget)' == 'x64')" >win-x64</_NativeRuntime >
1313
1414 <_NativeLibName Condition =" '$(_NativeRuntime)' == 'win-x86' Or '$(_NativeRuntime)' == 'win-x64'" >cimgui.dll</_NativeLibName >
15- <_NativeLibName Condition =" '$(_NativeRuntime)' == 'osx-x64' Or '$(_NativeRuntime)' == 'osx-arm64 '" >libcimgui.dylib</_NativeLibName >
15+ <_NativeLibName Condition =" '$(_NativeRuntime)' == 'osx'" >libcimgui.dylib</_NativeLibName >
1616 <_NativeLibName Condition =" '$(_NativeRuntime)' == 'linux-x64'" >libcimgui.so</_NativeLibName >
1717 </PropertyGroup >
1818 <ItemGroup >
You can’t perform that action at this time.
0 commit comments