On latest macOS, the AppleScript dialogs do not show, blocked by Apple's security measures
tofi86 opened this issue · 4 comments
On latest macOS, the AppleScript dialogs (missing Java, wrong Java, etc.) do not show. They are blocked by Apple's security measures:
After confirming with "OK", the dialog is shown.
For normal users however, this sounds like the App need access to Files and Documents via "System Events.app", althought the App doesn't.
It's really just the osascript
call to show a warning.
Does anyone have an advice whether there's a simple solution to make the AppleScript dialogs work again without this security dialog?
Everyone should at least set this property in their Info.plist
:
<key>NSAppleEventsUsageDescription</key>
<string>There was an error while launching the application. Please click OK to display a dialog with more information or cancel and view the syslog for details.</string>
The message itself is just a sample...
Added to v3.0.5
milestone to add a note about that in README.md
.
Added to
v3.0.5
milestone to add a note about that inREADME.md
.
done.
Is it known whether this issue affects the compiled binary version of the stub, or is it specific to the shell script?