Add ignore-gpu-blacklist flag

This commit is contained in:
Preston 2021-03-03 08:40:21 -05:00
parent 760836817a
commit 1e45ef2b92
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ let startupUrl
app.commandLine.appendSwitch('disable-features', 'OutOfBlinkCors') app.commandLine.appendSwitch('disable-features', 'OutOfBlinkCors')
app.commandLine.appendSwitch('enable-accelerated-video') app.commandLine.appendSwitch('enable-accelerated-video')
app.commandLine.appendSwitch('ignore-gpu-blacklist')
// See: https://stackoverflow.com/questions/45570589/electron-protocol-handler-not-working-on-windows // See: https://stackoverflow.com/questions/45570589/electron-protocol-handler-not-working-on-windows
// remove so we can register each time as we run the app. // remove so we can register each time as we run the app.