AppGrid
AppGrid copied to clipboard
chore: remove use of AXAPIEnabled()
Function AXAPIEnabled() has been deprecated, and apparently removed at or before MacOS 12.3. The code already checks for the presence of its replacement, AXIsProcessTrustedWithOptions(). With this change, only AXIsProcessTrustedWithOptions() is reference.
One more thing: with this change, I can build and run AppGrid on my M1 MBP with MacOS 12.3, and Activity Manager indicates the process kind is "Apple" instead of "Intel".