Redirect Apple Events to Electron App


Hey there, is it possible to attach a listener to a custom Apple Event?

I’ve seen that Electron listens for Custom URL events, here:

However, I didn’t find a listener for any apple event that would get re-redirected to electron app.

Besides from patching and building electron, is there any way I can redirect any Apple Event?