Jump to content

Distributing Extensions: Difference between revisions

From CC Public Wiki
No edit summary
No edit summary
Line 7: Line 7:
== Installing Extensions ==
== Installing Extensions ==


P6 looks for extensions in platform-dependent locations.  These are:
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''' {INSTALL_DIR}\extensions
* '''Windows''' {USER_DIR}\Application Data\ccPublisher
* '''Mac OS X''' /Library/Application Support/ccPublisher/extensions
* '''Mac OS X''' {USER_DIR}/Library/Application Support/ccPublisher
* '''Linux''' {INSTALL_DIR}/extensions <br/> We only distribute a tarball on Linux right now, so the initial release will just look for the <code>extensions</code> directory in the same directory which contains the application.
* '''Linux''' {USER_DIR}/.ccpublisher


Information persisted by extensions is stored in the following locations:
Extensions should be installed in the <code>extensions</code> subdirectory of the support directory.  For example, a Windows user with the username John would have extensions installed into


* '''Windows''' ~\ccPublisher\p6.settings
  c:\Documents and Settings\John\Application Data\ccPublisher\extensions
* '''Mac OS X''' ~/Library/Application Support/ccPublisher/p6.settings
* '''Linux''' ~/.p6.settings

Revision as of 00:27, 19 May 2006


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

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