diff options
Diffstat (limited to 'src/patcher.ts')
-rw-r--r-- | src/patcher.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/patcher.ts b/src/patcher.ts index 89c636c..b1f47b0 100644 --- a/src/patcher.ts +++ b/src/patcher.ts @@ -83,12 +83,11 @@ if (!process.argv.includes("--vanilla")) { delete options.frame; } - /* This causes electron to freeze / white screen for some people - if (settings.transparent) { + // This causes electron to freeze / white screen for some people + if ((settings as any).transparentUNSAFE_USE_AT_OWN_RISK) { options.transparent = true; options.backgroundColor = "#00000000"; } - */ process.env.DISCORD_PRELOAD = original; |