octalmage / robotjs

Node.js Desktop Automation.
http://robotjs.io
MIT License
12.37k stars 961 forks source link

Carbon framework deprecated for a decade? It does not work on the Mac published after 2020 #692

Closed zhangshaoju1987 closed 3 years ago

zhangshaoju1987 commented 3 years ago

Expected Behavior

port the function to newer Cocoa calls on Mac notebook

Current Behavior

on mac notebook which publish after 2020, robotjs does not work

Possible Solution

Steps to Reproduce (for bugs)

1. 2. 3. 4.

Context

Current Robotjs version depend on Carbon framework on mac。 but this framework was deprecated for a decade. On The mac notebook published after 2020 ,this does not work. Could you port the function to newer Cocoa calls.

Your Environment

smaugfm commented 3 years ago

I just installed robotjs via nom install robotjs on my M1 MacBook Pro and ran examples - they all work.