From 42b2b384e382a5b1482ed6412680a4f83044cb8c Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Tue, 28 Dec 2021 18:12:34 +0100 Subject: [PATCH] mention which browser binaries are placed where --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 7c39589..2da229c 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # epicgames-claimer ## usage +Setup: `npm install && npx playwright install` (downloads {chromium, firefox, webkit} (742 MB) to cache in home ([doc](https://playwright.dev/docs/browsers#managing-browser-binaries))). + Run `npm login` which opens a browser where you can login. When closing the browser, it writes a file `auth.json` containing cookies that should keep you logged in for some time. Then use `npm start` to run Chrome in headless mode to claim the current free game.