omg i love when vscode gets stuck on saving

This commit is contained in:
Vendicated 2024-07-19 02:51:52 +02:00
parent b91cb742b1
commit 65e91cf22e
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -75,7 +75,7 @@ if (!IS_VANILLA && !isLegacyNonAsarVencord) {
constructor(options: BrowserWindowConstructorOptions) {
if (options?.webPreferences?.preload && options.title) {
const original = options.webPreferences.preload;
options.webPreferences.preload = join(__dirname, IS_DISCORD_DESKTOP ? "preload.js" : "vencordDesktopPreload.js");
options.webPreferences.preload = join(__dirname, "preload.js");
options.webPreferences.sandbox = false;
// work around discord unloading when in background
options.webPreferences.backgroundThrottling = false;