Menu-Bar-Search icon indicating copy to clipboard operation
Menu-Bar-Search copied to clipboard

check array count in MenuGetter

Open occludedpixel opened this issue 7 months ago • 0 comments

I encountered an app that had a menu bar item with an empty kAXChildrenAttribute. Added a check to ensure that the array is non-empty to prevent an index out of range error when trying to access the first element.

occludedpixel avatar Nov 16 '23 00:11 occludedpixel