Ralf Vogler
|
73a7cffd47
|
await notify before process.exit, #69
|
2023-02-24 00:08:35 +01:00 |
|
Ralf Vogler
|
38c5402df0
|
exitCode should be 130 instead of 1 on SIGINT
https://unix.stackexchange.com/questions/386836/why-is-doing-an-exit-130-is-not-the-same-as-dying-of-sigint
|
2023-02-22 10:26:32 +01:00 |
|
Ralf Vogler
|
18c27ba881
|
use playwright-firefox such that npm install does not download other browsers
|
2023-02-22 00:49:58 +01:00 |
|
Ralf Vogler
|
518008584f
|
gog: actually wait for login instead of reentering the loop
|
2023-02-22 00:26:48 +01:00 |
|
Ralf Vogler
|
66694d65e5
|
SIGINT handler to not notify about error on Ctrl-C
|
2023-02-22 00:15:03 +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
|
704c4b01e1
|
set process.exitCode = 1 on error; don't want to rethrow
|
2023-02-21 21:00:26 +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
|
a90062b631
|
gog: Claim (.*) and don't miss -> Claim (.*), fixes #60
|
2023-02-15 19:33:44 +01:00 |
|
Ralf Vogler
|
d3e4c58c80
|
gog: only unsubscribe from newsletter if a game was claimed?
|
2023-02-09 16:53:42 +01:00 |
|
Ralf Vogler
|
dff712d998
|
skip prompt for password if email is missing
|
2023-02-09 16:28:27 +01:00 |
|
Ralf Vogler
|
b9e9abe546
|
page.waitForNavigation -> page.waitForURL
|
2023-02-04 21:37:04 +01:00 |
|
Ralf Vogler
|
eb17a49628
|
extract prompt into util.js
|
2023-02-03 16:03:01 +01:00 |
|
Ralf Vogler
|
21a4e06209
|
gog: check for reCAPTCHA on login; better info for eg
|
2023-01-29 20:27:05 +01:00 |
|
Ralf Vogler
|
0393a3998b
|
info about escaping prompts only if needed
|
2023-01-29 19:52:18 +01:00 |
|
Ralf Vogler
|
d4bf4a7af0
|
gog: wait for username after login, barrier before, fixes #53
|
2023-01-29 19:40:44 +01:00 |
|
Ralf Vogler
|
c5b0065a50
|
TypeError: String includes not contains, #53; only first line of error
|
2023-01-29 19:28:02 +01:00 |
|
Ralf Vogler
|
72a61458fc
|
notify: escapeHtml for titles
|
2023-01-25 20:56:35 +01:00 |
|
Ralf Vogler
|
9355ff3e01
|
notify: forgot to join list, gets rid of commas
|
2023-01-25 19:35:18 +01:00 |
|
Ralf Vogler
|
95b703efb1
|
gog: notify about games and login
|
2023-01-25 18:29:06 +01:00 |
|
Ralf Vogler
|
8139c0a78f
|
gog: save metadata, screenshot, closes #18
|
2023-01-23 14:45:29 +01:00 |
|
Ralf Vogler
|
2168c40aa5
|
centralize env vars in config.js
|
2023-01-09 10:47:19 +01:00 |
|
Ralf Vogler
|
792b4b3915
|
options: store-specific logins, drop SCREEN_
|
2023-01-07 13:55:31 +01:00 |
|
Ralf Vogler
|
6305ffd15d
|
gog: login, claim (waiting), unsubscribe newsletter
|
2023-01-07 12:31:23 +01:00 |
|
Ralf Vogler
|
593677ca19
|
cp prime-gaming.js gog.js
|
2022-12-30 21:36:34 +01:00 |
|