Sugar Network/Recipe Specification: Difference between revisions

Remove coincidence on "sweet project" with "Sugar Project"
[Activity]: more explicit "icon" usecase in actiivties
Line 76: Line 76:
=== [Activity] ===
=== [Activity] ===


This component section type should be present only in activities.
This section type should be present only in activities.


  '''activity_version''' = <version>
  '''activity_version''' = <version>
Line 88: Line 88:
  '''icon''' = <icon-file-name-without-suffix>
  '''icon''' = <icon-file-name-without-suffix>


Required. Behaviour from activity.info is supported (value should not have ".svg" suffix, and icon file could be found only in activity subdirectory) but deprecated. Regular ''icon'' behaviour from ''[Component]'' section should be used instead.
Required. Behaviour from {{Code|activity.info}} is supported (value should not have {{Code|.svg}} suffix, and icon file can be found only in {{Code|activity}} subdirectory) and deprecated but needs to be used to not break backwards compatibility. For the rest cases, regular ''icon'' behaviour should be used instead.


  '''exec''' = <shell-command>
  '''exec''' = <shell-command>