1
0
Fork 0
FF_arkenfox_user.js/UserJS_README.md

1.2 KiB

GIT ArkenFox

MàJ repository

$ git fetch origin
$ git diff HEAD..99.0
$ git merge 99.0
$ git push chapril

Lien symbolique depuis le répertoire Mozilla

$ cd ~/.mozilla/firefox/
$ ln -sf ~/dev_3rd/FF_arkenfox_user.js/user.js .

Nettoyage

Important de nettoyer car certaines lignes peuvent avoir été retirées.

$ cd ~/.mozilla/firefox/abcdef12.profile
$ ~/dev_3rd/FF_arkenfox_user.js/prefsCleaner.sh
$ cd ..

Création

$ ~/dev_3rd/FF_arkenfox_user.js/updater.sh -lc

Search

$ SUFFIX=$(kdialog --inputbox "Suffix" $(date +%Y-%m-%d)) \
   && TMP=$(mktemp) \
   && mozlz4a.py --decompress search.json.mozlz4 $TMP \
   && jq . --indent 2 $TMP > search_${SUFFIX}.json \
   && rm $TMP

Archive

Télécharger Arkenfox

Méthode alternative — au lieu d'utiliser GIT.

$ cd ~/.mozilla/firefox/

$ wget https://github.com/arkenfox/user.js/archive/refs/tags/86.0.tar.gz
$ mv 86.0.tar.gz user.js-86.0.tar.gz
$ tar xf user.js-86.0.tar.gz

$ DIR=$(echo user.js*(/om[1])) && ln -sf $DIR/user.js .

Vérifications

$ DIR=$(echo user.js*(/om[1])) && kdiff3 ~/dev_3rd/FF_arkenfox_user.js/updater.sh $DIR/updater.sh updater_local.sh