Sugar Network/Recipe Specification: Difference between revisions

Line 138: Line 138:


=== [Activity] ===
=== [Activity] ===
This section should present only for activities (or for applications that could be used also as activities e.g. GCompris is regular application but could be launched in sugar mode).
Section uses the same options [Package] has with additions:
'''activity_version'''
Option is deprecated, ''version'' should be instead instead.
'''bundle_id''' = <bundle-id>
See [[Development_Team/Almanac/Activity_Bundles#.info_file_format|activity.info file specification]]. Option will be deprecated after implementing 0sugar in glucose and switching to identifying activities by urls (like 0install feeds).
'''icon''' = <icon-file-name-wo-suffix>
Behaviour from activity.info is supported (value should not have ".svg" suffix and icon file could be found only in activity subdirectory) but deprecated.
'''exec''' = <shell-command>
Sugar will pass additional [[Development_Team/Low-level_Activity_API#Command_Line_Arguments| command line arguments]] to this command.
'''mime_types''' = <mime-type> [; ...]
List of mime types supported by the activity. It's used when opening a file from the web or to present to the user a list of activities which can open a certain journal object.
'''tags''' = <tag> [; ...]
Tags give more context in which to place the activity. This is used to allow users to find activities more easily in the journal, the home view, etc.


=== [Buid] ===
=== [Buid] ===