diff --git a/.env.example b/.env.example index defb473..63dd87d 100644 --- a/.env.example +++ b/.env.example @@ -5,4 +5,4 @@ # https://github.com/settings/personal-access-tokens/new GITHUB_TOKEN= -ELECTRON_LAUNCH_FLAGS="--ozone-platform-hint=auto --enable-webrtc-pipewire-capturer --enable-features=WaylandWindowDecorations" \ No newline at end of file +ELECTRON_LAUNCH_FLAGS="--enable-source-maps --ozone-platform-hint=auto" \ No newline at end of file diff --git a/src/main/index.ts b/src/main/index.ts index 78499bb..5a55f40 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -17,9 +17,7 @@ import { registerScreenShareHandler } from "./screenShare"; import { Settings, State } from "./settings"; import { isDeckGameMode } from "./utils/steamOS"; -if (IS_DEV) { - require("source-map-support").install(); -} else { +if (!IS_DEV) { autoUpdater.checkForUpdatesAndNotify(); } @@ -68,9 +66,7 @@ function init() { app.commandLine.appendSwitch("autoplay-policy", "no-user-gesture-required"); // 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 + // HardwareMediaKeyHandling, MediaSessionService: Prevent Discord from registering as a media service. disabledFeatures.add("WinRetrieveSuggestionsOnlyOnDemand"); disabledFeatures.add("HardwareMediaKeyHandling"); disabledFeatures.add("MediaSessionService");