Difference between revisions of "Distributing Extensions"

From Creative Commons
Jump to: navigation, search
 
(3 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
== Installing Extensions ==
 
== Installing Extensions ==
  
P6 looks for extensions in platform-dependent locationsThese 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 appropriateThe 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''' ''to be determined''
+
* '''Linux''' {USER_DIR}/.ccpublisher
 +
* [http://menshealthmedia.blogspot.com/ Mens Health]
  
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
 

Latest revision as of 15:52, 26 January 2013


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