diff --git a/src/Vencord.ts b/src/Vencord.ts index c4c6d470..1c1ebc80 100644 --- a/src/Vencord.ts +++ b/src/Vencord.ts @@ -91,35 +91,9 @@ async function init() { syncSettings(); - if (!IS_WEB && !IS_UPDATER_DISABLED) { - try { - const isOutdated = await checkForUpdates(); - if (!isOutdated) return; - - if (Settings.autoUpdate) { - await update(); - if (Settings.autoUpdateNotification) - setTimeout(() => showNotification({ - title: "Vencord has been updated!", - body: "Click here to restart", - permanent: true, - noPersist: true, - onClick: relaunch - }), 10_000); - return; - } - - setTimeout(() => showNotification({ - title: "A Vencord update is available!", - body: "Click here to view the update", - permanent: true, - noPersist: true, - onClick: openUpdaterModal! - }), 10_000); - } catch (err) { - UpdateLogger.error("Failed to check for updates", err); - } - } + + + if (IS_DEV) { const pendingPatches = patches.filter(p => !p.all && p.predicate?.() !== false);