aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2023-10-27 23:38:11 +1100
committerYuchen Pei <id@ypei.org>2023-10-27 23:38:11 +1100
commit8ee5aba1bd932f248297f8de3eb7bbcdae601bb4 (patch)
treeefb5c4cccf0fa689c00559adc719b711092d02b2 /build.sh
parent8926cb68f45ab3dc0bd7bc7eed2cd40c4cc437cd (diff)
[PoC] Log LibreJS reportsnative-messaging-app
- run ./build.sh - install the built librejs.xpi as a temporary extension[1] - check the librejs version is 7.21.2 - load some sites e.g. <https://fsf.org>, <https://archive.org>, and the reports should be logged into /tmp/librejs.log [1] https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.sh b/build.sh
index 526ac8b..96d8800 100755
--- a/build.sh
+++ b/build.sh
@@ -42,3 +42,6 @@ cd ../
rm -r ./build_temp
# change the zip file to a xpi file that can be uploaded
mv librejs.zip librejs.xpi
+
+cp native-apps/librejs.json $HOME/.mozilla/native-messaging-hosts/
+cp native-apps/librejs-logger.py /tmp/