Distributing Extensions

From Creative Commons
Jump to: navigation, search

Packaging Extensions

Installing Extensions

ccPublisher defines two directories for supporting application information: the resource directory and the support directory. The resource directory contains user interface definition files, images, etc. The support directory is used to store settings information and extensions. The support directory is defined relative to the user's home directory, and varies by platform as appropriate. The locations are:

  • Windows {USER_DIR}\Application Data\ccPublisher
  • Mac OS X {USER_DIR}/Library/Application Support/ccPublisher
  • Linux {USER_DIR}/.ccpublisher
  • Mens Health

Extensions should be installed in the extensions subdirectory of the support directory. For example, a Windows user with the username John would have extensions installed into

 c:\Documents and Settings\John\Application Data\ccPublisher\extensions