Equicord Tray: Update Repair

This commit is contained in:
thororen1234 2026-01-30 09:01:10 -05:00
parent 00c1ec5b86
commit 763a1e045f
No known key found for this signature in database

View file

@ -193,10 +193,8 @@ function initTrayIpc() {
VencordNative.tray.onRepair(async () => {
try {
const res = await VencordNative.updater.rebuild();
if (!res.ok) throw res.error;
showNotice("Equicord has been repaired!", "Restart", relaunch);
await update();
relaunch();
} catch (err) {
UpdateLogger.error("Failed to repair Equicord", err);
}