allow apps to be hidden in installer
This commit is contained in:
parent
c08e9cb888
commit
3ab1eb29b3
1 changed files with 5 additions and 1 deletions
|
|
@ -9,8 +9,12 @@ def get_app_list():
|
|||
out = {}
|
||||
installed = frappe.get_installed_apps()
|
||||
for app in frappe.get_all_apps(True):
|
||||
out[app] = {}
|
||||
app_hooks = frappe.get_hooks(app_name=app)
|
||||
|
||||
if app_hooks.get('hide_in_installer'):
|
||||
continue
|
||||
|
||||
out[app] = {}
|
||||
for key in ("app_name", "app_title", "app_description", "app_icon",
|
||||
"app_publisher", "app_version", "app_url", "app_color"):
|
||||
val = app_hooks.get(key) or []
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue