aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/patcher.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patcher.ts b/src/patcher.ts
index 4369782..d9eb794 100644
--- a/src/patcher.ts
+++ b/src/patcher.ts
@@ -76,7 +76,7 @@ if (!process.argv.includes("--vanilla")) {
const original = options.webPreferences.preload;
options.webPreferences.preload = join(__dirname, "preload.js");
options.webPreferences.sandbox = false;
- options.frame = settings.frameless;
+ options.frame = !settings.frameless;
process.env.DISCORD_PRELOAD = original;