diff options
author | Vendicated <vendicated@riseup.net> | 2023-03-31 05:59:45 +0200 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-03-31 05:59:45 +0200 |
commit | 5340ea7ba0b2eed5acd18c1c48715542a05ac248 (patch) | |
tree | b58aee74431044a37f7fe97c475239ae1785aafe /src/patcher.ts | |
parent | 84a649a6716ca7634f2dc1629c7b5e0bec84881d (diff) | |
download | Vencord-5340ea7ba0b2eed5acd18c1c48715542a05ac248.tar.gz Vencord-5340ea7ba0b2eed5acd18c1c48715542a05ac248.tar.bz2 Vencord-5340ea7ba0b2eed5acd18c1c48715542a05ac248.zip |
Add back window transparency with temporary unsafe settings key
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; |