1.3 KiB
1.3 KiB
GIT ArkenFox
MàJ repository
$ git fetch arkenfox
$ git diff HEAD..arkenfox/master
$ git merge arkenfox/master
$ 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 ..
Voir aussi scratchpad-scripts/arkenfox-cleanup.js
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