问题
我将在windows系统下开发的electron应用移到麒麟系统(Linux)后启动时报了这个错误:ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer

解决办法
1.修改加载函数
修改前

修改后
2.使用 file 协议加载
修改前

修改后

博主将Windows系统下开发的Electron应用移到麒麟系统(Linux)后,启动时出现ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer错误。并给出两种解决办法,一是修改加载函数,二是使用file协议加载。
我将在windows系统下开发的electron应用移到麒麟系统(Linux)后启动时报了这个错误:ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer

修改前

修改后
修改前

修改后

1981
2533

被折叠的 条评论
为什么被折叠?
