Upload File from electron menu


#1

I’m having a difficult time being able to upload a file via a custom electron menu. I have tried to trigger an event using ipc from the main process to the rendering process however because the event does not ‘come from the user’ I am unable to trigger the click event on file input.

Any suggestions?