diff --git a/src/components/VencordSettings/VencordTab.tsx b/src/components/VencordSettings/VencordTab.tsx index 5ac120d..120f4c5 100644 --- a/src/components/VencordSettings/VencordTab.tsx +++ b/src/components/VencordSettings/VencordTab.tsx @@ -72,7 +72,7 @@ function VencordSettings() { title: "Use Windows' native title bar instead of Discord's custom one", note: "Requires a full restart" }), - !IS_WEB && { + !IS_WEB && false /* This causes electron to freeze / white screen for some people */ && { key: "transparent", title: "Enable window transparency", note: "Requires a full restart" diff --git a/src/patcher.ts b/src/patcher.ts index 9752a04..ba906d5 100644 --- a/src/patcher.ts +++ b/src/patcher.ts @@ -83,10 +83,12 @@ if (!process.argv.includes("--vanilla")) { delete options.frame; } + /* This causes electron to freeze / white screen for some people if (settings.transparent) { options.transparent = true; options.backgroundColor = "#00000000"; } + */ process.env.DISCORD_PRELOAD = original;