feat(Updater): Fixes

This commit is contained in:
thororen 2024-12-06 12:15:02 -05:00
parent d925fe4922
commit bb34833b3c
3 changed files with 17 additions and 9 deletions

View file

@ -100,6 +100,7 @@ async function init() {
if (Settings.autoUpdate) {
await update();
if (Settings.updateRelaunch) return relaunch;
if (Settings.autoUpdateNotification)
setTimeout(() => showNotification({
title: "Equicord has been updated!",
@ -108,7 +109,6 @@ async function init() {
noPersist: true,
onClick: relaunch
}), 10_000);
if (Settings.autoUpdateRelaunch) return relaunch;
return;
}