特牛网址导航

electron 使用shell.openExternal 打开系统浏览器报错_shell.openexternal报错-CSDN博客

网友收藏
文章浏览阅读4.7k次。最新因为业务需要,用electron做一个桌面应用。在使用electron的shell模块的openExternal 时,总是出现Failed to open。开始以为是代码写的不对,各种检查没问题。最后发现是因为系统默认浏览器IE让我卸载了,所以打不开,electron就会报“Failed to open”错误。只要更换一下系统默认浏览器就OK了。..._shell.openexternal报错