Commit graph

22 commits

Author SHA1 Message Date
Ralf Vogler
73a7cffd47 await notify before process.exit, #69 2023-02-24 00:08:35 +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
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
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
eb17a49628 extract prompt into util.js 2023-02-03 16:03:01 +01:00
Ralf Vogler
72a61458fc notify: escapeHtml for titles 2023-01-25 20:56:35 +01:00
Ralf Vogler
2f0961b1b3 NOTIFY to set notification services 2023-01-25 17:50:26 +01:00
Ralf Vogler
89ba21d2cb update lowdb 2022-12-17 00:12:59 +01:00
Ralf Vogler
e1cd3117b6 fix #33 2022-11-12 13:43:27 +01:00
Ralf Vogler
ac758d39e4 epic-games: migrateDb: rm .runs, .claimed[] -> .[user][game_id], closes #27
If you'd like to keep the .runs data: `cp -a data/epic-games.{json, v1.json}`
Objects also have insertion order for non-number strings, so there's not need for a list:
https://stackoverflow.com/questions/5525795/does-javascript-guarantee-object-property-order
2022-10-06 16:31:46 +02:00
Ralf Vogler
61af4e35f6 util.datetimeLocal 2022-10-06 14:20:50 +02:00
Ralf Vogler
bf647936eb vscode format dode 2022-09-26 20:08:52 +02:00
Ralf Vogler
2791112fd6 sanitizeFilename -> filenamify, use for datetime 2022-09-16 15:34:28 +02:00
Ralf Vogler
4fcbd6be6a comment: use filenamify? 2022-09-11 22:08:26 +02:00
Ralf Vogler
f888981415 extract sanitizeFilename 2022-07-14 17:04:00 +02:00
Ralf Vogler
18de5fdfa8 use lowdb for data/prime-gaming.json 2022-07-13 15:49:03 +02:00
Ralf Vogler
59450ed05c mv userDataDir data/browser; mv screenshots data/ 2022-05-05 23:49:55 +02:00
Ralf Vogler
3b3289dddf upgrade to ES6 modules and top-level await, add jsconfig.json with es2022
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import
https://code.visualstudio.com/docs/languages/jsconfig
2022-02-24 18:27:25 +01:00
Ralf Vogler
9bb548dc3e pull out stealth into util 2022-02-24 17:32:32 +01:00
Ralf Vogler
747a2a5621 claimer for Amazon Prime Gaming (no ext stores) 2022-01-13 20:04:13 +01:00