mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-12 08:03:06 -04:00
Safe 2 update
This commit is contained in:
parent
29fd3ca13f
commit
39cfa3e367
3 changed files with 9 additions and 57 deletions
|
@ -27,7 +27,11 @@ import { IS_VANILLA } from "./utils/constants";
|
|||
console.log("[Equicord] Starting up...");
|
||||
|
||||
// FIXME: remove at some point
|
||||
export const isLegacyNonAsarVencord = IS_STANDALONE && !__dirname.endsWith(".asar");
|
||||
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();
|
||||
}
|
||||
|
||||
// Our injector file at app/index.js
|
||||
const injectorPath = require.main!.filename;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue