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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user