Skip to content

Commit e127d70

Browse files
committed
- Add instructions for making an XPI.
- Add Fluidinfo icons to display in the 'Add-ons manager' when the extension is installed.
1 parent 6f983de commit e127d70

File tree

5 files changed

+17
-2
lines changed

5 files changed

+17
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
infomaniac.xpi

README.md

+14-2
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,28 @@ these pages:
7373
- https://developer.mozilla.org/en/Code_snippets/On_page_load
7474

7575

76+
Making a new release
77+
--------------------
78+
79+
Create a `.xpi` file:
80+
81+
zip -r infomaniac.xpi chrome chrome.manifest install.rdf
82+
83+
7684
Further information
7785
-------------------
7886

7987
There are a number of resources you'll need to have on hand to
8088
understand and modify the extension:
8189

82-
- https://developer.mozilla.org/en/XUL_Tutorial provides a nice
90+
- https://developer.mozilla.org/en/XUL_tutorial provides a nice
8391
introduction to XUL.
84-
- https://developer.mozilla.org/en/XUL_Reference provides a list of XUL
92+
- https://developer.mozilla.org/en/XUL_reference provides a list of XUL
8593
elements with links to detailed API documentation for each one.
8694
- https://developer.mozilla.org/en/Code_snippets provides a list of
8795
examples, nicely organized by topic, which are indispensable when
8896
learning how to perform basic (and not-so-basic) tasks.
97+
- https://developer.mozilla.org/en/Extension_packaging provides
98+
instructions for making an XPI. It also has some information about
99+
how to install the extension directly and serve the file correctly
100+
from a web server.

chrome/skin/fluidinfo-32x32.png

2.25 KB
Loading

chrome/skin/fluidinfo-64x64.png

5.07 KB
Loading

install.rdf

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
info you and others have added to the page you're looking at and
1212
jump directly to Fluidinfo to do more.</em:description>
1313
<em:homepageURL>http://fluidinfo.com</em:homepageURL>
14+
<em:iconURL>chrome://infomaniac/skin/fluidinfo-32x32.png</em:iconURL>
15+
<em:icon64URL>chrome://infomaniac/skin/fluidinfo-64x64.png</em:icon64URL>
1416
<em:targetApplication>
1517
<Description>
1618
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id> <!-- firefox -->

0 commit comments

Comments
 (0)