video uploads to the server and returns a link to the user. and a fix on manager script, that now it update the registry with the content of manyplug, instead of just the version

This commit is contained in:
synt-xerror
2026-04-21 10:27:00 -03:00
parent 3a3c1c07d4
commit 6369fcf58d
4 changed files with 67 additions and 21 deletions

View File

@@ -50,14 +50,14 @@ for (const entry of entries) {
version: manifest.version
});
registry.plugins[pluginName] = manifest;
} else if (existing.version !== manifest.version) {
} else if (JSON.stringify(existing, Object.keys(existing).sort()) !== JSON.stringify(manifest, Object.keys(manifest).sort())) {
const oldVersion = existing.version;
existing.version = manifest.version;
registry.plugins[pluginName] = manifest;
update.push({
name: pluginName,
oldVersion: oldVersion,
newVersion: existing.version
newVersion: manifest.version
});
}
} catch (err) {