Skip to content

Commit

Permalink
update README chromium -> firefox
Browse files Browse the repository at this point in the history
vogler committed Dec 29, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 09b8671 commit bea048c
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -14,21 +14,22 @@ _Works on Windows/macOS/Linux._
```
docker run --rm -it -p 6080:6080 -v fgc:/fgc/data ghcr.io/vogler/free-games-claimer
```
which will run `epic-games` and then `prime-gaming`.
Data is stored in the volume `fgc`.

<details>
<summary>I want to run without Docker or develop locally.</summary>

1. [Install Node.js](https://nodejs.org/en/download)
2. Clone/download this repository and `cd` into it in a terminal
3. Run `npm install && npx playwright install chromium`
3. Run `npm install && npx playwright install firefox`

This downloads Chromium to a cache in home ([doc](https://playwright.dev/docs/browsers#managing-browser-binaries)).
If you are missing some dependencies for the browser on your system, you can use `sudo npx playwright install chromium --with-deps`.
This downloads Firefox to a cache in home ([doc](https://playwright.dev/docs/browsers#managing-browser-binaries)).
If you are missing some dependencies for the browser on your system, you can use `sudo npx playwright install firefox --with-deps`.
</details>

## Usage
Both scripts start an automated Chromium instance, either with the browser GUI shown or hidden (*headless mode*).
Both scripts start an automated Firefox instance, either with the browser GUI shown or hidden (*headless mode*).

Login has to be done in the browser. It's hard to automate since you usually need to enter some OTP (but you can select 'remember this device').
After login, the script will just continue, but you can also restart it.

0 comments on commit bea048c

Please sign in to comment.