From 08a564588cba7c6f9c208c9c213a50471252a2b9 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Fri, 14 Jan 2022 00:25:40 +0100 Subject: [PATCH] allow disabling GPU on other platforms --- app/lib/app.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/lib/app.ts b/app/lib/app.ts index 202d7794..1fa9323e 100644 --- a/app/lib/app.ts +++ b/app/lib/app.ts @@ -70,10 +70,10 @@ export class Application { app.commandLine.appendSwitch('enable-transparent-visuals') app.disableHardwareAcceleration() } - if (this.configStore.hacks?.disableGPU) { - app.commandLine.appendSwitch('disable-gpu') - app.disableHardwareAcceleration() - } + } + if (this.configStore.hacks?.disableGPU) { + app.commandLine.appendSwitch('disable-gpu') + app.disableHardwareAcceleration() } this.userPluginsPath = path.join(