Commit graph

29 commits

Author SHA1 Message Date
Ralf Vogler
64676795d1 mv {config,migrate,util,version}.js src/ 2023-12-26 17:09:14 +01:00
Ralf Vogler
30957d63d0 DEBUG_NETWORK=1 to log network requests and responses instead of DEBUG && RECORD 2023-12-21 16:16:48 +01:00
Ralf Vogler
0832ae57f5 run eslint --fix . 2023-11-08 01:16:49 +01:00
Ralf Vogler
11db31ea46 Merge branch 'xbox-gold'
https://github.com/vogler/free-games-claimer/pull/160
2023-11-06 19:40:18 +01:00
Ralf Vogler
4137bb5569 DEBUG=1 as alternative to PWDEBUG=1 (also shows Playwright debugger) 2023-10-26 15:01:04 +02:00
Ralf Vogler
e30216c9b8 eg: default resolution 1280x1280 -> 1920x1080, #183 2023-09-07 13:30:49 +02:00
Ralf Vogler
d8e2093a0d pg: INTERACTIVE=1 to confirm each claim or skip it 2023-09-05 15:56:24 +02:00
Ralf Vogler
5ae4ce5666 eg: option TIME=1 to log duration of steps, #183 2023-08-31 18:59:10 +02:00
Ralf Vogler
b5ead8ea21 SCREENSHOTS_DIR=0 to disable screenshots, fixes #172 2023-07-20 16:10:50 +02:00
Omair
a7dcfe72cc xbox: add implementation for xbox games with gold 2023-06-26 15:48:58 -04:00
Omair
acc337a4f9 xbox: add config values 2023-06-26 15:48:21 -04:00
Ralf Vogler
8f174c4bf0 eg: RECORD=1 to recordVideo & recordHar; fixed: recordVideo can't be false
Strangely `recordHar` can be false instead of undefined, but made it symmetric.
2023-05-08 17:29:14 +02:00
Ralf Vogler
7fc0fbc69c Revert "eg: RECORD=1 to recordVideo & recordHar"
This reverts commit 066a99c77c.
2023-05-05 13:36:51 +02:00
Ralf Vogler
066a99c77c eg: RECORD=1 to recordVideo & recordHar 2023-05-05 09:54:21 +02:00
Ralf Vogler
db5a98eb88 gog: set GOG_NEWSLETTER=1 to not unsubscribe newsletter, closes #109 2023-03-30 14:17:26 +02:00
Ralf Vogler
b75f538d8a eg: add EG_PARENTALPIN to enter Parental Controls PIN, #98 2023-03-17 11:19:38 +01:00
Ralf Vogler
b51547a376 pg: experimental PG_CLAIMDLC, WIP #55 2023-03-06 22:32:08 +01:00
Ralf Vogler
114631da4d add NOTIFY_TITLE - Optional title for notifications, e.g. Pushover, #69 2023-02-23 23:35:47 +01:00
Ralf Vogler
e73d3d47d7 pg: PG_REDEEM == '1' like for other boolean options 2023-02-23 23:10:35 +01:00
Ralf Vogler
fc3f0a6333 pg: PG_REDEEM for external stores, post your response in #5
Known responses (missing unused key):
- GOG: `Invalid or no captcha`, `code_used`, `code_not_found`
- microsoft games: `NotFound`
2023-02-23 12:38:26 +01:00
Ralf Vogler
21ed2794f4 change default TIMEOUT from 20s to 60s, #62 2023-02-22 01:10:34 +01:00
Ralf Vogler
efeccf9493 use enquirer instead of prompts, use plugin for cancel after timeout 2023-02-21 23:25:18 +01:00
Ralf Vogler
8c2ac3b6d0 add LOGIN_TIMEOUT (180s) for PW, but prompts still wait forever 2023-02-21 21:21:55 +01:00
Ralf Vogler
e2b07dc1e6 BROWSER_DIR for multiple profiles or testing, SCREENSHOTS_DIR, closes #12 2023-02-16 16:25:46 +01:00
Ralf Vogler
2f0961b1b3 NOTIFY to set notification services 2023-01-25 17:50:26 +01:00
Ralf Vogler
fafd1ad6bf comment: no gog_otp 2023-01-23 14:59:59 +01:00
Ralf Vogler
1a3d90f795 add otplib to generate OTP from key for eg, pg; gog only has mail 2023-01-10 00:06:25 +01:00
Ralf Vogler
6a7594fa32 use dotenv for loading env vars from data/config.env 2023-01-09 10:56:18 +01:00
Ralf Vogler
2168c40aa5 centralize env vars in config.js 2023-01-09 10:47:19 +01:00