diff --git a/scripts/build/build.mjs b/scripts/build/build.mjs index 6f95225c..1f1ad96d 100755 --- a/scripts/build/build.mjs +++ b/scripts/build/build.mjs @@ -229,7 +229,7 @@ await Promise.all([ await Promise.all([ createPackage("dist/desktop", "dist/desktop.asar"), - createPackage("dist/vesktop", "dist/vesktop.asar") + createPackage("dist/vesktop", "dist/equibop.asar") ]); if (existsSync("dist/renderer.js")) { @@ -247,6 +247,6 @@ if (existsSync("dist/renderer.js")) { await Promise.all([ writeFile("dist/patcher.js", 'require("./desktop.asar")'), - writeFile("dist/vencordDesktopMain.js", 'require("./vesktop.asar")') + writeFile("dist/vencordDesktopMain.js", 'require("./equibop.asar")') ]); } diff --git a/src/main/updater/common.ts b/src/main/updater/common.ts index 5cf9abc1..4d4d4461 100644 --- a/src/main/updater/common.ts +++ b/src/main/updater/common.ts @@ -17,7 +17,7 @@ */ export const ASAR_FILE = IS_VESKTOP - ? "vesktop.asar" + ? "equibop.asar" : "desktop.asar"; export function serializeErrors(func: (...args: any[]) => any) { diff --git a/src/main/updater/http.ts b/src/main/updater/http.ts index bd70b51d..2afc6d94 100644 --- a/src/main/updater/http.ts +++ b/src/main/updater/http.ts @@ -95,8 +95,8 @@ export async function migrateLegacyToAsar() { const data = await get(`https://github.com/${gitRemote}/releases/latest/download/desktop.asar`); - originalWriteFileSync(join(__dirname, "../vencord.asar"), data); - originalWriteFileSync(__filename, '// Legacy shim for new asar\n\nrequire("../vencord.asar");'); + originalWriteFileSync(join(__dirname, "../equicord.asar"), data); + originalWriteFileSync(__filename, '// Legacy shim for new asar\n\nrequire("../equicord.asar");'); app.relaunch(); app.exit();