How do I force electron to run on computers that don't support webGL?

how to force electron to run on computers that do not support webGL

I have read a lot of information on the Internet that if you run this line of code on the main process, you can force it to run

.
    app.commandLine.appendSwitch("ignore-gpu-blacklist")

but I still have to report this warning when I package the app and run it on a machine that doesn"t support webGL.

is there any other solution?

Jul.01,2021
Menu