switch to node inbuilt source map support
This commit is contained in:
@@ -5,4 +5,4 @@
|
|||||||
# https://github.com/settings/personal-access-tokens/new
|
# https://github.com/settings/personal-access-tokens/new
|
||||||
GITHUB_TOKEN=
|
GITHUB_TOKEN=
|
||||||
|
|
||||||
ELECTRON_LAUNCH_FLAGS="--ozone-platform-hint=auto --enable-webrtc-pipewire-capturer --enable-features=WaylandWindowDecorations"
|
ELECTRON_LAUNCH_FLAGS="--enable-source-maps --ozone-platform-hint=auto"
|
||||||
@@ -17,9 +17,7 @@ import { registerScreenShareHandler } from "./screenShare";
|
|||||||
import { Settings, State } from "./settings";
|
import { Settings, State } from "./settings";
|
||||||
import { isDeckGameMode } from "./utils/steamOS";
|
import { isDeckGameMode } from "./utils/steamOS";
|
||||||
|
|
||||||
if (IS_DEV) {
|
if (!IS_DEV) {
|
||||||
require("source-map-support").install();
|
|
||||||
} else {
|
|
||||||
autoUpdater.checkForUpdatesAndNotify();
|
autoUpdater.checkForUpdatesAndNotify();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -69,8 +67,6 @@ function init() {
|
|||||||
|
|
||||||
// WinRetrieveSuggestionsOnlyOnDemand: Work around electron 13 bug w/ async spellchecking on Windows.
|
// WinRetrieveSuggestionsOnlyOnDemand: Work around electron 13 bug w/ async spellchecking on Windows.
|
||||||
// HardwareMediaKeyHandling, MediaSessionService: Prevent Discord from registering as a media service.
|
// HardwareMediaKeyHandling, MediaSessionService: Prevent Discord from registering as a media service.
|
||||||
//
|
|
||||||
// WidgetLayering (Vencord Added): Fix DevTools context menus https://github.com/electron/electron/issues/38790
|
|
||||||
disabledFeatures.add("WinRetrieveSuggestionsOnlyOnDemand");
|
disabledFeatures.add("WinRetrieveSuggestionsOnlyOnDemand");
|
||||||
disabledFeatures.add("HardwareMediaKeyHandling");
|
disabledFeatures.add("HardwareMediaKeyHandling");
|
||||||
disabledFeatures.add("MediaSessionService");
|
disabledFeatures.add("MediaSessionService");
|
||||||
|
|||||||
Reference in New Issue
Block a user