From 7661e5e39e366f36fb50af1e24161a94992e637b Mon Sep 17 00:00:00 2001 From: tastytea Date: Wed, 22 May 2019 10:46:30 +0200 Subject: [PATCH] Renamed XPI build script, added info about it to readme. --- .gitignore | 2 +- README.adoc | 6 +++++- browser-plugins/webextension/build_package.sh | 3 --- browser-plugins/webextension/build_xpi.sh | 3 +++ 4 files changed, 9 insertions(+), 5 deletions(-) delete mode 100755 browser-plugins/webextension/build_package.sh create mode 100755 browser-plugins/webextension/build_xpi.sh diff --git a/.gitignore b/.gitignore index 5f81c1a..676ecee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ /build/ -*.zip +*.xpi diff --git a/README.adoc b/README.adoc index b1918d7..b4fde53 100644 --- a/README.adoc +++ b/README.adoc @@ -111,10 +111,14 @@ You can run the tests with `ctest` inside the build directory. Install with == Browser plugins +=== WebExtension + The https://schlomp.space/tastytea/remwharead/src/branch/main/browser-plugins/webextension[WebExtension] works in Firefox and possibly other browsers with WebExtension support. You -can install it from https://addons.mozilla.org/en-US/firefox/addon/remwharead/[addons.mozilla.org]. +can install it from +https://addons.mozilla.org/en-US/firefox/addon/remwharead/[addons.mozilla.org] +or build it yourself with `build_xpi.sh`. == Copyright diff --git a/browser-plugins/webextension/build_package.sh b/browser-plugins/webextension/build_package.sh deleted file mode 100755 index df5a37c..0000000 --- a/browser-plugins/webextension/build_package.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -zip -r -FS ../remwharead.zip * --exclude 'native-wrapper/*' --exclude build_package.sh diff --git a/browser-plugins/webextension/build_xpi.sh b/browser-plugins/webextension/build_xpi.sh new file mode 100755 index 0000000..a86ff8a --- /dev/null +++ b/browser-plugins/webextension/build_xpi.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +zip -r -FS ../remwharead.xpi --exclude 'native-wrapper/*' --exclude build_xpi.sh -- *