thunderbird-patch-review
Easy-to-use patch review interface for Thunderbird
Contribute: ~marcc/thunderbird-review-plugin@lists.sr.ht
git clone git://mccd.space/thunderbird-patch-review
| Log | Files | Refs | README | LICENSE |
commit 8833e293294ae6d4ba413f866b4fd78db21d706d parent ce0c7cd7483d28dd4fefbab83681337a2fa667ab Author: Pi Agent <agent@pi.local> Date: Sat, 18 Jul 2026 15:13:41 +0200 docs: show the zip command to package the extension as an .xpi Spell out the one-liner used to build patch-review.xpi (run zip from inside extension/ so manifest.json lands at the archive root) in both the README and the patch-review.1 INSTALLATION section. Diffstat:
| M | README | | | 13 | ++++++++++--- |
| M | patch-review.1 | | | 21 | ++++++++++++++++++--- |
2 files changed, 28 insertions(+), 6 deletions(-)
diff --git a/README b/README
@@ -48,9 +48,16 @@ INSTALLATION
extension/manifest.json.
3. Extension (permanent)
- Zip the extension/ directory contents (manifest.json at the
- archive root), rename the archive to patch-review.xpi, and
- install it from the Add-ons Manager gear menu.
+ Zip the extension/ directory with manifest.json at the
+ archive root, then install the .xpi from the Add-ons Manager
+ gear menu (Install Add-on From File...). From the project
+ root:
+
+ ( cd extension && zip -qrX ../patch-review.xpi . )
+
+ The parentheses run the zip from inside extension/ so the
+ archive holds manifest.json at its root, not under
+ extension/.
Restart Thunderbird after installing the host so it is picked up.
diff --git a/patch-review.1 b/patch-review.1
@@ -73,9 +73,24 @@ and pick
3. Extension (permanent)
Zip the
.I extension/
-directory contents (manifest.json at the archive root), rename the archive to
-.BR patch\-review.xpi ,
-and install it from the Add-ons Manager gear menu.
+directory with manifest.json at the archive root, then install the
+.B .xpi
+from the Add-ons Manager gear menu
+.RB ( "Install Add-on From File..." ).
+From the project root:
+.RS
+.PP
+(cd extension && zip -qrX ../patch\-review.xpi .)
+.RE
+.PP
+The subshell runs the
+.BR zip (1)
+from inside
+.I extension/
+so the archive holds
+.B manifest.json
+at its root, not under
+.IR extension/ .
.PP
Restart Thunderbird after installing the host so it is picked up.
.SH CONFIGURATION