We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbf53ec commit ea066f9Copy full SHA for ea066f9
js/appinfo.js
@@ -390,6 +390,16 @@ var AppInfo = {
390
}
391
});
392
393
+ if (app.provides_features) {
394
+ app.provides_features.forEach(feature => {
395
+ let existing = appJSONInstalled.find(app =>
396
+ app.provides_features && app.provides_features.includes(feature));
397
+ if (existing) {
398
+ let msg = `App "${app.name}" provides feature '"${feature}"' which is already provided by "${existing.name}"`;
399
+ promise = promise.then(() => uploadOptions.showQuery(msg, existing));
400
+ }
401
+ });
402
403
if (app.type=="launch") {
404
let existing = appJSONInstalled.find(app => app.type=="launch");
405
if (existing) {
0 commit comments