How to determine Platform and Architecture via SDK
I have a plugin that uses external binaries. I have binaries for Windows, Mac ARM, and Mac AMD that I provide with my plugin. When I run
I have a plugin that uses external binaries. I have binaries for Windows, Mac ARM, and Mac AMD that I provide with my plugin. When I run
Use the built-in global booleans MAC_ENV and WIN_ENV to determine whether LR is running on Mac or Windows. Then call LrSystemInfo.architecture() to determine the CPU architecture. I think the current possible values are "x64" (for Intel and AMD) and "arm64" (for ARM). I don't think it distinguishes between Intel and AMD -- do you need that granularity? (I can't test because I only have Mac ARM and Win ARM test machines.)
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.