aboutsummaryrefslogtreecommitdiff
path: root/src/patcher.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/patcher.ts')
-rw-r--r--src/patcher.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/patcher.ts b/src/patcher.ts
index 64bc502..d51405d 100644
--- a/src/patcher.ts
+++ b/src/patcher.ts
@@ -80,6 +80,10 @@ if (!process.argv.includes("--vanilla")) {
if (settings.frameless) {
options.frame = false;
}
+ if (settings.transparent) {
+ options.transparent = true;
+ options.backgroundColor = "#00000000";
+ }
process.env.DISCORD_PRELOAD = original;