User Tools

Site Tools


gnome:extensions:create_an_extension

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gnome:extensions:create_an_extension [2022/07/23 12:35] 194.32.120.105gnome:extensions:create_an_extension [2022/07/23 12:39] (current) – [Complete Extension Zip File Layout] 194.32.120.105
Line 1: Line 1:
 ====== Gnome - Extensions - Create an Extension ====== ====== Gnome - Extensions - Create an Extension ======
  
-===== Distributing an Extension =====+===== Creating the files for an extension =====
  
-Extensions are distributed as Zip files with only two required files: +Extensions only require two mandatory files, so create them:
  
   * [[Gnome:Extensions:extension.js|extension.js]]   * [[Gnome:Extensions:extension.js|extension.js]]
   * [[Gnome:Extensions:metadata.json|metadata.json]]   * [[Gnome:Extensions:metadata.json|metadata.json]]
  
-----+Optionally create additional files:
  
-===== Creating the files for an extension =====+  * See [[Gnome:Extensions:prefs.js|prefs.js]]
  
-Create the **extension.js** and **metadata.json** files.+----
  
-Optional create additional files:+===== Distributing an Extension =====
  
-  * See [[Gnome:Extensions:prefs.js|prefs.js]]+Extensions are distributed as Zip files with the two required files 
 + 
 +<code bash> 
 +example@blah.zip 
 +    extension.js 
 +    metadata.json 
 +</code>
  
 ---- ----
  
-===== Complete Extension Zip File Layout ===== 
  
-A more completezipped extension usually looks like this:+==== Complete Extension Zip File Layout ==== 
 + 
 +If additional optional files were also used in the extensionthen the zip extension usually looks like this:
  
 <code bash> <code bash>
gnome/extensions/create_an_extension.1658579740.txt.gz · Last modified: 2022/07/23 12:35 by 194.32.120.105

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki