aboutsummaryrefslogtreecommitdiff
path: root/src/patcher.ts
diff options
context:
space:
mode:
authorVendicated <vendicated@riseup.net>2023-03-30 23:47:22 +0200
committerVendicated <vendicated@riseup.net>2023-03-30 23:48:26 +0200
commit708c16176b9a8353a7460dd313a0cc441f679c21 (patch)
tree32680fad4a2af66c59b49cb29b553e7ec140c44a /src/patcher.ts
parent035d1e24b2fc146d8bf8a621a57974008193eae7 (diff)
downloadVencord-708c16176b9a8353a7460dd313a0cc441f679c21.tar.gz
Vencord-708c16176b9a8353a7460dd313a0cc441f679c21.tar.bz2
Vencord-708c16176b9a8353a7460dd313a0cc441f679c21.zip
Remove transparency feature
This not only causes incredibly confusion among users because they expect it to work without themes, it also causes freezes/whitescreens for some users. Thus, this feature is disabled for now until someone contributes a fix!
Diffstat (limited to 'src/patcher.ts')
-rw-r--r--src/patcher.ts2
1 files changed, 2 insertions, 0 deletions
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;