diff --git a/src/index.ts b/src/index.ts index be6cbb3..2d45280 100644 --- a/src/index.ts +++ b/src/index.ts @@ -10,7 +10,7 @@ import { removeFile, writeFile } from "@lib/api/native/fs"; import { isPyonLoader, isThemeSupported } from "@lib/api/native/loader"; import { FileManager } from "@lib/api/native/modules"; import { updateFonts } from "@lib/fonts"; -import { checkAndRegisterUpdates, initPlugins } from "@lib/plugins"; +import { initPlugins } from "@lib/plugins"; import { initThemes, patchChatBackground } from "@lib/themes"; import { logger } from "@lib/utils/logger"; import initSafeMode from "@ui/safeMode"; @@ -46,8 +46,7 @@ export default async () => { initFetchI18nStrings(), initSettings(), initFixes(), - initSafeMode(), - checkAndRegisterUpdates() + initSafeMode() ]).then( // Push them all to unloader u => u.forEach(f => f && lib.unload.push(f)) diff --git a/src/lib/plugins/index.ts b/src/lib/plugins/index.ts index cd325fd..f3de7a1 100644 --- a/src/lib/plugins/index.ts +++ b/src/lib/plugins/index.ts @@ -367,12 +367,12 @@ export async function checkAndRegisterUpdates() { corePluginInstances.set(id, instance); } - await updateRepository(OFFICIAL_PLUGINS_REPO_URL); - await Promise.allSettled(Object.keys(pluginRepositories).map(async repo => { - if (repo !== OFFICIAL_PLUGINS_REPO_URL) { - await updateRepository(repo); - } - })); + // await updateRepository(OFFICIAL_PLUGINS_REPO_URL); + // await Promise.allSettled(Object.keys(pluginRepositories).map(async repo => { + // if (repo !== OFFICIAL_PLUGINS_REPO_URL) { + // await updateRepository(repo); + // } + // })); } /**