add some comments

Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
Axolotle 2022-12-04 13:15:29 +01:00 committed by GitHub
parent 34b191582a
commit 8d9605161c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -1028,6 +1028,7 @@ def app_install(
)
# Override manifest name by given label
# This info is also later picked-up by the 'permission' resource initialization
if label:
manifest["name"] = label

View file

@ -272,6 +272,7 @@ def _load_apps_catalog():
merged_catalog["apps"][app] = info
# Annnnd categories + antifeatures
# (we use .get here, only because the dev catalog doesnt include the categories/antifeatures keys)
merged_catalog["categories"] += apps_catalog_content.get("categories", [])
merged_catalog["antifeatures"] += apps_catalog_content.get("antifeatures", [])