From fbfbe33c0a2f86fcf5ada30065492e2f70b2e6e1 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Fri, 19 Jul 2024 00:53:40 +0200 Subject: [PATCH] j --- src/main/updater/http.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/updater/http.ts b/src/main/updater/http.ts index 13a366510..4138c6ac8 100644 --- a/src/main/updater/http.ts +++ b/src/main/updater/http.ts @@ -92,7 +92,7 @@ export async function migrateLegacyToAsar() { try { const data = await get(`https://github.com/${gitRemote}/releases/latest/desktop.asar`); await writeFile(join(__dirname, "../vencord.asar"), data); - await writeFile(__filename, "// Legacy shim for new asar\n\nrequire(\"../vencord.asar\");"); + await writeFile(__filename, '// Legacy shim for new asar\n\nrequire("../vencord.asar");'); app.relaunch(); } catch (e) { console.error("Failed to migrate to asar", e);