You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you're using Electron, are you using auto-launch from the main process or a renderer process? -> main process
Since the Mojave version of macOS, Apple introduced some advanced security features which prevent auto-launch to execute its AppleScript.
The Exception "Not authorized to send Apple events to System Events" is thrown when calling autoLaunch.enable().
Here is an example: https://recatch.io/s/UnDGITjNmLYV
Is there any workaround? I prefer to use the AppelScript method so my app appears in the Login Items menu, which is not the case with LaunchAgent.
Thank you,
The text was updated successfully, but these errors were encountered:
node -v
): 10.15.0Since the Mojave version of macOS, Apple introduced some advanced security features which prevent auto-launch to execute its AppleScript.
The Exception "Not authorized to send Apple events to System Events" is thrown when calling
autoLaunch.enable()
.Here is an example: https://recatch.io/s/UnDGITjNmLYV
Is there any workaround? I prefer to use the AppelScript method so my app appears in the Login Items menu, which is not the case with LaunchAgent.
Thank you,
The text was updated successfully, but these errors were encountered: