sindresorhus / get-windows

Get metadata about the active window and open windows (title, id, bounds, owner, etc)
MIT License
797 stars 167 forks source link

Add disableScreenRecordingPermission option #95

Closed wrgoto closed 3 years ago

wrgoto commented 3 years ago

Why

One of the major drawbacks is the library asking for Screen Recording permissions for macOS versions 10.15 and newer. Even though the library doesn't actually record the screen, it is required to get the title of the active window. For those who do not need the window title, there should be an option to forgo the Screen Recording permission check.

Changes

Related