mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge branch 'feature/2.0/PYPE-306_update_enchancement' into feature/2.0/PYPE-294_local_http_server
This commit is contained in:
commit
b6a01ecd39
20 changed files with 224 additions and 233 deletions
|
|
@ -35,11 +35,15 @@ def registerApp(app, session):
|
|||
label = apptoml.get('ftrack_label', app.get('label', name))
|
||||
icon = apptoml.get('ftrack_icon', None)
|
||||
description = apptoml.get('description', None)
|
||||
preactions = apptoml.get('preactions', [])
|
||||
|
||||
if icon:
|
||||
icon = icon.format(os.environ.get('PYPE_STATICS_SERVER', ''))
|
||||
|
||||
# register action
|
||||
AppAction(
|
||||
session, label, name, executable, variant, icon, description
|
||||
session, label, name, executable, variant,
|
||||
icon, description, preactions
|
||||
).register()
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue