Because I still can’t build universal applications I thought I’d do an ARM build. For that I needed Kaju support. Which turn out dead simple:
- In UpdateInformation add a constant:
Public Const kMacBinaryARMName as String = MacARMBinary
-
Add the constant to BinaryNames:
Public Shared Function BinaryNames() As String()
return array(kMacBinaryName, kMacBinaryARMName)
End Function -
Change the getter for PlatformBinary64bit:
Public Property PlatformBinary64bit As KajuBinaryInformation
Get
dim binary as KajuBinaryInformation#if TargetMacOS
#if TargetX86 then
binary = Binaries.Lookup( kMacBinaryName, nil )
#Else
Binary = Binaries.Lookup(kMacBinaryARMName, Nil)
#EndIf#elseif TargetWindows
binary = Binaries.Lookup( kWindowsBinary64Name, nil )#elseif TargetLinux
binary = Binaries.Lookup( kLinuxBinary64Name, nil )#endif
return binary
End Get
End Property
-
Note to self not to leave debug code to change the url for testing.