aboutsummaryrefslogtreecommitdiff
path: root/src/patcher.ts
diff options
context:
space:
mode:
authorVen <vendicated@riseup.net>2023-01-13 01:34:06 +0100
committerGitHub <noreply@github.com>2023-01-13 01:34:06 +0100
commit075b0e0970bd0853a3e7c9fc0001da0472928695 (patch)
tree5353e1c5fe2e7525e4bae9ad5b5696a5d8a29bb9 /src/patcher.ts
parent10fd51071e90c47b6cd0041fb1260ea284864905 (diff)
downloadVencord-075b0e0970bd0853a3e7c9fc0001da0472928695.tar.gz
Vencord-075b0e0970bd0853a3e7c9fc0001da0472928695.tar.bz2
Vencord-075b0e0970bd0853a3e7c9fc0001da0472928695.zip
Update patcher.ts
Diffstat (limited to 'src/patcher.ts')
-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;