Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ozh authored Jun 3, 2022
1 parent 7a23770 commit b1964c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ From the root,

#### 2. Fetch all new sounds :

Similarly :
Similarly, from the root :

* `cd snd/`
* `wget --convert-links -O index.html http://orteil.dashnet.org/cookieclicker/snd/`
Expand All @@ -35,7 +35,7 @@ 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 list.txt -B http://orteil.dashnet.org/cookieclicker/`
* Scan `index.html` for any new `<script src` and also `main.js` for any new local javascript (eg `Game.last.minigameUrl`)
* Scan `index.html` for any new `<script src` and also `main.js` for any new local javascript (eg `Game.last.minigameUrl`). If there are new scripts, update the `list.txt` accordingly.
* In `main.js` there is a call to a remote script we need to modify:
* Look for `ajax('/patreon/grab.php'` and replace it with `ajax('grab.txt'`
* In the root: `wget -O grab.txt http://orteil.dashnet.org/patreon/grab.php`
Expand Down

0 comments on commit b1964c4

Please sign in to comment.