mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Don't show auto-update toast if no extensions installed
This commit is contained in:
@ -846,6 +846,10 @@ async function checkForExtensionUpdates(force) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function autoUpdateExtensions() {
|
async function autoUpdateExtensions() {
|
||||||
|
if (!Object.values(manifests).some(x => x.auto_update)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
toastr.info('Auto-updating extensions. This may take several minutes.', 'Please wait...', { timeOut: 10000, extendedTimeOut: 20000 });
|
toastr.info('Auto-updating extensions. This may take several minutes.', 'Please wait...', { timeOut: 10000, extendedTimeOut: 20000 });
|
||||||
const promises = [];
|
const promises = [];
|
||||||
for (const [id, manifest] of Object.entries(manifests)) {
|
for (const [id, manifest] of Object.entries(manifests)) {
|
||||||
|
Reference in New Issue
Block a user