Update patcher.ts
This commit is contained in:
parent
10fd51071e
commit
075b0e0970
|
@ -76,7 +76,7 @@ if (!process.argv.includes("--vanilla")) {
|
||||||
const original = options.webPreferences.preload;
|
const original = options.webPreferences.preload;
|
||||||
options.webPreferences.preload = join(__dirname, "preload.js");
|
options.webPreferences.preload = join(__dirname, "preload.js");
|
||||||
options.webPreferences.sandbox = false;
|
options.webPreferences.sandbox = false;
|
||||||
options.frame = settings.frameless;
|
options.frame = !settings.frameless;
|
||||||
|
|
||||||
process.env.DISCORD_PRELOAD = original;
|
process.env.DISCORD_PRELOAD = original;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue