javascript - url scheme: open windows application on request [Electron] - Stack Overflow

i have a php website and i have an electron based desktop applicationi want to be able to open this ap

i have a php website and i have an electron based desktop application i want to be able to open this application which i made it when the client hit the button on my website, how can i do that?

for example, let's say i have a chatting website and a chatting application and the user likes to use the app instead of the website so after he installs my app on his windows machine and then go to the website to click the button i want the app to open it self! how can i achieve that please ?

I would like add a minor query that lets assume if application is installed it is opening the installed application, but what if application is not installed, it is throwing error on my side like "Module is not found" '

has any one faced such kind of issue for better clarification I'm adding screen shot here.

I also got many times below dialog as well, I'm attaching the screen for the same as well.

i have a php website and i have an electron based desktop application i want to be able to open this application which i made it when the client hit the button on my website, how can i do that?

for example, let's say i have a chatting website and a chatting application and the user likes to use the app instead of the website so after he installs my app on his windows machine and then go to the website to click the button i want the app to open it self! how can i achieve that please ?

I would like add a minor query that lets assume if application is installed it is opening the installed application, but what if application is not installed, it is throwing error on my side like "Module is not found" '

has any one faced such kind of issue for better clarification I'm adding screen shot here.

I also got many times below dialog as well, I'm attaching the screen for the same as well.

Share Improve this question edited Jun 1, 2023 at 6:00 Himesh Aadeshara 2,1301 gold badge17 silver badges31 bronze badges asked Oct 2, 2016 at 13:06 J. DuoJ. Duo 1451 gold badge3 silver badges10 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 7

Electron provides the app.setAsDefaultProtocolClient API specifically for that purpose.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744364109a4570612.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信