Update patcher.ts

This commit is contained in:
Ven 2023-01-13 01:34:06 +01:00 committed by GitHub
parent 10fd51071e
commit 075b0e0970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;