Launch an electron app and send data to it from a Web Browser (Chrome, Firefox)


#1

I have a web application developed with php and mysql and I would like to launch a desktop application developed by electron js via a link from my web app and in the same time sending an array of images urls to my electron app that will download and store them on the user’s machine somewhere for other processing.

the process is like that i guess :

  • the user clicks to a link in the web app

  • The electron app is launched.

  • the urls of images are received and downloaded by the app.

  • And other processing…

.

I am new to electron js , according to my research. I guess I have to use the URL Protocol handling But I do not know how to do, and how to achieve that, if anyone can help i would be very grateful!