# GIT ArkenFox ## MàJ repository ``` $ git fetch $ git checkout 95.0 ``` **Vérifications des modifications locales** $ git diff **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 ```