From 4152338eccf810132f6b7399540706d947e9e324 Mon Sep 17 00:00:00 2001 From: kaitlynkittyy Date: Sun, 7 Apr 2024 14:14:58 -0400 Subject: [PATCH] removed unnecessary flags --- src/main/index.ts | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/main/index.ts b/src/main/index.ts index 47094c3..b976f2a 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -36,18 +36,11 @@ function init() { app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required"); app.commandLine.appendSwitch( "enable-features", - "UseOzonePlatform,VaapiVideoDecodeLinuxGL,VaapiVideoEncoder,WebRTCPipeWireCapturer,VaapiVideoDecoder,CanvasOopRasterization,Vulkan" + "UseOzonePlatform,VaapiVideoDecodeLinuxGL,VaapiVideoEncoder,WebRTCPipeWireCapturer,VaapiVideoDecoder" ); app.commandLine.appendSwitch("use-vulkan"); app.commandLine.appendSwitch("use-gl", "angle"); app.commandLine.appendSwitch("use-angle", "gl"); - app.commandLine.appendSwitch("enable-gpu-rasterization"); - app.commandLine.appendSwitch("enable-gpu"); - app.commandLine.appendSwitch("enable-unsafe-webgpu"); - app.commandLine.appendSwitch("enable-oop-rasterization"); - app.commandLine.appendSwitch("enable-native-gpu-memory-buffers"); - app.commandLine.appendSwitch("enable-accelerated-video"); - app.commandLine.appendSwitch("enable-zero-copy"); app.commandLine.appendSwitch("ignore-gpu-blocklist"); app.commandLine.appendSwitch("ozone-platform-hint", "wayland"); // WinRetrieveSuggestionsOnlyOnDemand: Work around electron 13 bug w/ async spellchecking on Windows.