summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
author྅༻ Ǭɀħ ༄༆ཉ <ozh@ozh.org>2020-10-11 12:58:43 +0200
committerGitHub <noreply@github.com>2020-10-11 12:58:43 +0200
commitb1137bf9d80fec6ea977b9edc26218f1f20146d6 (patch)
treef0dc87ae514ee285917cb790f91d0abe8d3784a7 /README.md
parent3238e2a9eb10cef50aeea2e4f2ddb89ce3e877da (diff)
parentff1da671baa5f61c20a46ed433b9e9431ebce307 (diff)
Merge pull request #7 from Gooderist0x1/gh-pages
Update to 2.029
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 9ffa3f0..3a8f2ef 100644
--- a/README.md
+++ b/README.md
@@ -15,7 +15,7 @@ If the original game updates, here is how you can update the mirror:
from the `/img/` directory :
* `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/img/`
-* `grep -o 'href="[^/?"]*' index.html | sed 's/href="//' | sed 's/Thumbs.db//' | sed '/^[[:space:]]*$/d'> list.txt`
+* `grep -v PARENTDIR index.html | grep -o '/img/*[a-zA-ZA-z]*.*"' | sed 's/\/img\///' | sed 's/"//' >list.txt`
* `wget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/img/`
#### 2. Fetch all new sounds :
@@ -23,7 +23,7 @@ from the `/img/` directory :
Similarly, from the `/snd/` directory :
* `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/snd/`
-* `grep -o 'href="[^/?"]*' index.html | sed 's/href="//' | sed 's/Thumbs.db//' | sed '/^[[:space:]]*$/d'> list.txt`
+* `grep -v PARENTDIR index.html | grep -o '/snd/*[a-zA-ZA-z]*.*"' | sed 's/\/snd\///' | sed 's/"//' >list.txt`
* `wget -N -i list.txt -B http://orteil.dashnet.org/cookieclicker/snd/`
#### 3. Update `js` and `html` files :