How to run desktop app from browser?

后端 未结 2 1417
旧时难觅i
旧时难觅i 2020-12-20 07:07

I need to launch program from browser(like battlefield when you see dialog with confirmation of starting app). Should I make an extension or there is native way to do it wit

2条回答
  •  北海茫月
    2020-12-20 07:44

    If the basic idea is to launch a desktop app from the web browser, the first step is to create a new Registry in Windows and path a URL Custom protocol. And if is you need it you can also send parameters by changing console arguments in your app and append the parameters in your html file.

    You can check here:

    https://weblogs.asp.net/morteza/How-to-run-a-desktop-application-from-a-web-page

提交回复
热议问题