mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-09 22:53:02 -04:00
feat(Updater): Fixes
This commit is contained in:
parent
d925fe4922
commit
bb34833b3c
3 changed files with 17 additions and 9 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue