1
0
Fork 0
This commit is contained in:
Michel 2022-01-11 17:49:08 +01:00
parent 937a0a0969
commit 4f284269f4
1 changed files with 71 additions and 0 deletions

71
UserJS_README.md Normal file
View File

@ -0,0 +1,71 @@
# 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
```