Merge remote-tracking branch 'upstream/asar-bundle'

This commit is contained in:
thororen1234 2024-07-25 07:02:29 -04:00
commit 698290f117
3 changed files with 52 additions and 9 deletions

View file

@ -27,11 +27,7 @@ import { IS_VANILLA } from "./utils/constants";
console.log("[Equicord] Starting up...");
// FIXME: remove at some point
const isLegacyNonAsarVencord = IS_STANDALONE && !__dirname.endsWith(".asar");
if (isLegacyNonAsarVencord) {
console.warn("This is a legacy non asar install! Migrating to asar and restarting...");
require("./updater/http").migrateLegacyToAsar();
}
export const isLegacyNonAsarVencord = IS_STANDALONE && !__dirname.endsWith(".asar");
// Our injector file at app/index.js
const injectorPath = require.main!.filename;