From c0bde31edf3d3a62cd4d012b256c9e92b1b64518 Mon Sep 17 00:00:00 2001 From: sremaGriS <125485581+sremaGriS@users.noreply.github.com> Date: Thu, 11 May 2023 09:25:35 -0400 Subject: [PATCH 1/2] Update README.md --- README.md | 41 +---------------------------------------- 1 file changed, 1 insertion(+), 40 deletions(-) diff --git a/README.md b/README.md index b8ffc8a2..59cfa268 100644 --- a/README.md +++ b/README.md @@ -8,46 +8,7 @@ This mirror for, errrr, like, educational purpose, either to download for your o ### How to update -If the original game updates, here is how you can update the mirror: - -#### 1. Fetch all new images : - -From the root, - -* `cd img/` -* `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/img/` -* `grep -v PARENTDIR index.html | grep '\[IMG' | grep -Po 'a href="\K.*?(?=")' | sed 's/\?.*//' > _imglist.txt` -* `wget -N -i _imglist.txt -B http://orteil.dashnet.org/cookieclicker/img/` - -#### 2. Fetch all new sounds : - -Similarly, from the root : - -* `cd snd/` -* `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/snd/` -* `grep -v PARENTDIR index.html | grep '\[SND' | grep -Po 'a href="\K.*?(?=")' | sed 's/\?.*//' > _sndlist.txt` -* `wget -N -i _sndlist.txt -B http://orteil.dashnet.org/cookieclicker/snd/` - -#### 3. Fetch all new translations : - -Similarly, from the root : - -* `cd loc/` -* `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/loc/` -* `grep -v PARENTDIR index.html | grep '\[ ' | grep -Po 'a href="\K.*?(?=")' | sed 's/\?.*//' > _loclist.txt` -* `wget -N -i _loclist.txt -B http://orteil.dashnet.org/cookieclicker/loc/` - -#### 4. Update `js` and `html` files : - -From the root directory : - -* Fetch the updated `index.html` file: `wget -O index.html http://orteil.dashnet.org/cookieclicker/` -* Fetch the updated `style.css` file: `wget -O style.css http://orteil.dashnet.org/cookieclicker/style.css` -* Fetch updated `js` files : `wget -N -i _jslist.txt -B http://orteil.dashnet.org/cookieclicker/` -* Scan `index.html` for any new `