From 075b0e0970bd0853a3e7c9fc0001da0472928695 Mon Sep 17 00:00:00 2001 From: Ven Date: Fri, 13 Jan 2023 01:34:06 +0100 Subject: Update patcher.ts --- src/patcher.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit