mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-10 07:16:33 -04:00
Add manual install steps for unsigned builds
This commit is contained in:
parent
68452ff5c6
commit
67c2a9edc4
4
scripts/get_id_from_xpi.sh
Executable file
4
scripts/get_id_from_xpi.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
temp=$(mktemp -d)
|
||||
unzip -qq $1 -d $temp
|
||||
jq '.applications.gecko.id' $temp/manifest.json | tr -d '"'
|
||||
4
scripts/install.sh
Executable file
4
scripts/install.sh
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
installdir=${1:-/usr/lib/firefox/browser/extensions}
|
||||
xpi=web-ext-artifacts/$(ls -t web-ext-artifacts/ | head -n1)
|
||||
install -Dm644 $xpi $installdir/$(scripts/get_id_from_xpi.sh $xpi).xpi
|
||||
Loading…
Reference in a new issue