From f81f3df546f7b2e2fdca685303fc95f80bac1f66 Mon Sep 17 00:00:00 2001 From: kaitlynkittyy Date: Sun, 7 Apr 2024 17:31:30 -0400 Subject: [PATCH] fix a stupid issue that i couldnt even see --- src/main/index.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/main/index.ts b/src/main/index.ts index b976f2a..7ebfd66 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -51,14 +51,6 @@ function init() { "disable-features", "WinRetrieveSuggestionsOnlyOnDemand,HardwareMediaKeyHandling,MediaSessionService,WidgetLayering,UseChromeOSDirectVideoDecoder" ); - // WinRetrieveSuggestionsOnlyOnDemand: Work around electron 13 bug w/ async spellchecking on Windows. - // HardwareMediaKeyHandling,MediaSessionService: Prevent Discord from registering as a media service. - // - // WidgetLayering (Vencord Added): Fix DevTools context menus https://github.com/electron/electron/issues/38790 - app.commandLine.appendSwitch( - "disable-features", - "WinRetrieveSuggestionsOnlyOnDemand,HardwareMediaKeyHandling,MediaSessionService,WidgetLayering" - ); // In the Flatpak on SteamOS the theme is detected as light, but SteamOS only has a dark mode, so we just override it if (isDeckGameMode) nativeTheme.themeSource = "dark";