问题
我将在windows系统下开发的electron应用移到麒麟系统(Linux)后启动时报了这个错误:ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer
解决办法
1.修改加载函数
修改前
修改后
2.使用 file 协议加载
修改前
修改后
我将在windows系统下开发的electron应用移到麒麟系统(Linux)后启动时报了这个错误:ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer
修改前
修改后
修改前
修改后