mirror of
https://github.com/vale981/tridactyl
synced 2025-03-04 17:11:40 -05:00
Add manual install steps for unsigned builds
This commit is contained in:
parent
68452ff5c6
commit
67c2a9edc4
2 changed files with 8 additions and 0 deletions
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…
Add table
Reference in a new issue