Development Team/Almanac/Activity Bundles: Difference between revisions

Bert (talk | contribs)
.info File Format: add update_url example
Bert (talk | contribs)
Line 59: Line 59:


.info files follow a key/value pair format, similar to the [http://www.freedesktop.org/wiki/Specifications/desktop-entry-spec fd.o desktop entry spec], but not conforming to it.  An example is shown here:
.info files follow a key/value pair format, similar to the [http://www.freedesktop.org/wiki/Specifications/desktop-entry-spec fd.o desktop entry spec], but not conforming to it.  An example is shown here:
 
{{{
[Activity]
[Activity]
name = Web
name = Web
activity_version = 1
activity_version = 1
host_version = 1
host_version = 1
bundle_id = com.redhat.Sugar.BrowserActivity
bundle_id = com.redhat.Sugar.BrowserActivity
icon = activity-web
icon = activity-web
exec = sugar-activity browseractivity.BrowserActivity -s
exec = sugar-activity browseractivity.BrowserActivity -s
mime_types = application/pdf;image/tiff
mime_types = application/pdf;image/tiff
update_url = http://host.net/bundles/FooBar
update_url = http://host.net/bundles/FooBar
}}}


A more detailed explanation of the valid properties follows:
A more detailed explanation of the valid properties follows: