How to evoke the electron application and get the parameters in url through web hyperlinks

the company needs, through the web page to evoke the electron application, it is now possible to click the hyperlink to evoke the application, but how to obtain the parameters in the url that the application needs to evoke?

Mar.26,2021

ask the boss to give me some advice. no, no, no. Process.argv, what about the command line arguments I got? Why can't I get the parameters in url?


answer your own questions.
electron's pit is really hard to step on.
about getting the parameters that evoke the application url, my idea is to get the whole url first and then extract the parameters
then how does url get it? You can get many parameters passed by the runtime


https://github.com/oikonomopo.
through the process.argv provided by node.

can be implemented by using this library.
Menu