英文:
Java capture screenshot in MacOS blocked
问题
我有一个小的Java应用程序,必须在MacOS下对桌面进行截图。
应用程序第一次运行的时候我得到了:
> "java"想要记录这台计算机的屏幕
我的问题是:如何避免出现这个消息?
想法是不强迫用户经历这么多步骤才能使用该应用。
英文:
I have a small Java application that must take a screenshot of the desktop under MacOS.
The moment the application is run for the first time I got:
> "java" would like to record this computer's screen
My question is: How can this message be avoided?
The idea is not to force user to go so many bumps just to use the app.
专注分享java语言的经验与见解,让所有开发者获益!
评论