diff options
author | Vendicated <vendicated@riseup.net> | 2023-01-13 01:50:58 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2023-01-13 01:50:58 +0100 |
commit | 26f2b51eb95d59ed55d1fc0f81a1579e08bd29f3 (patch) | |
tree | 237acc4bacf32d1081fa997b022fffaf2c80bbdb | |
parent | 075b0e0970bd0853a3e7c9fc0001da0472928695 (diff) | |
download | Vencord-26f2b51eb95d59ed55d1fc0f81a1579e08bd29f3.tar.gz Vencord-26f2b51eb95d59ed55d1fc0f81a1579e08bd29f3.tar.bz2 Vencord-26f2b51eb95d59ed55d1fc0f81a1579e08bd29f3.zip |
Fix Frameless
-rw-r--r-- | src/patcher.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/patcher.ts b/src/patcher.ts index d9eb794..82fc233 100644 --- a/src/patcher.ts +++ b/src/patcher.ts @@ -76,7 +76,9 @@ 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; + if (settings.frameless) { + options.frame = false; + } process.env.DISCORD_PRELOAD = original; |