Commit graph

183 commits

Author SHA1 Message Date
Ralf Vogler
50bb784a33
Update README.md 2022-05-06 00:58:38 +02:00
Ralf Vogler
ebde6b6208
Update README.md 2022-05-06 00:53:04 +02:00
Ralf Vogler
2d98a252fd docker, #15: space in path: need \" instead of just " around $INIT_CWD for cross-env-shell 2022-05-06 00:13:03 +02:00
Ralf Vogler
a0de165e6f :has-text("Continue") -> button:has-text("Continue") 2022-05-06 00:07:48 +02:00
Ralf Vogler
59450ed05c mv userDataDir data/browser; mv screenshots data/ 2022-05-05 23:49:55 +02:00
Ralf Vogler
bba71efbc9 fix type in Promise.any 2022-05-05 23:21:14 +02:00
Ralf Vogler
fd4085d57c jsconfig.module: esnext since coc-tsserver complained about await... 2022-05-05 23:15:12 +02:00
Ralf Vogler
baebfd5b8c docker, #15: use rimraf since rm -f is del /f on Windows 2022-05-05 22:33:34 +02:00
Ralf Vogler
a38e0def81 docker, #15: rm chromium profile lock before run
This locked the profile everytime a run was killed and made runs
afterwards time out. Maybe due to changed hostname, maybe due to how the
docker container kills playwright - didn't check.
https://bugs.chromium.org/p/chromium/issues/detail?id=367048
2022-05-05 16:36:32 +02:00
Ralf Vogler
8b9af60e80 docker, #15: quote $INIT_CWD in case it has spaces 2022-05-05 15:56:43 +02:00
Ralf Vogler
812e2b6530 docker, #15: use cross-env-shell instead of just cross-env, rm quotes?, TODO check if paths with space are quoted 2022-05-04 10:28:52 +02:00
Ralf Vogler
a4ba21025c docker: cross-env for vars on Windows, #15
https://stackoverflow.com/questions/58924328/generic-node-js-init-cwd-for-windows-and-nix
2022-05-04 09:51:29 +02:00
Ralf Vogler
a1eec65869 Dockerfile: dos2unix ./docker/*.sh, #15
https://stackoverflow.com/questions/51508150/standard-init-linux-go190-exec-user-process-caused-no-such-file-or-directory
2022-05-04 02:04:04 +02:00
Ralf Vogler
64c9222f56 docker volume: use npm's $INIT_CWD instead of *nix/bash $(pwd) = Win/cmd ${PWD}, #15 2022-05-04 01:30:23 +02:00
Ralf Vogler
21311834d9 npm scripts for docker, update readme 2022-04-30 22:06:57 +02:00
Ralf Vogler
f1dd867d39 missing ; 2022-04-30 21:53:03 +02:00
Ralf Vogler
4e90fb67c6 prime-gaming: screenshot of claimed external game, print URL to redeem 2022-04-30 21:52:55 +02:00
Ralf Vogler
fdf34ef218 prime-gaming: fix selectors 2022-04-30 21:11:27 +02:00
Ralf Vogler
21c13ad4d6 fix #14
`count` and `click` should use the same (button) locator
2022-04-21 20:37:10 +02:00
Ralf Vogler
212930639f
Merge pull request #11 from jackblk/main
feat: dockerize, fix sign in loop
2022-04-10 01:35:36 +02:00
Trung Le
7971be297c feat: use novnc, fix Thank you for buying timeout 2022-04-09 14:50:42 +07:00
Trung Le
9416f37698 fix: add screenshots to dockerignore 2022-04-01 02:00:49 +07:00
Trung Le
3ecde7f3cb
Merge branch 'vogler:main' into main 2022-04-01 01:59:40 +07:00
Trung Le
dbf4804dc7 fix: reduce size, fix signin redirect
* correct freegames url
* skip downloading browsers in docker
* remove fluxbox
* remove stdout for vnc & xvfb
2022-04-01 01:47:48 +07:00
Ralf Vogler
0381b73d5e readme: prime-gaming works headless, docker for epic-games, see #11 2022-03-31 20:10:29 +02:00
Ralf Vogler
930b7b5256 prime-gaming: removing Headless from userAgent not required, works headless 2022-03-31 19:56:02 +02:00
Ralf Vogler
fd56cac06b prime-gaming: only print code to redeem game for Origin 2022-03-31 19:55:19 +02:00
Ralf Vogler
a707acf1b8 prime-gaming: click Games since now only placeholders until in view 2022-03-31 19:43:07 +02:00
Ralf Vogler
f0bf3c1671 prime-gaming: fix wait for sign in, exit if not, arg show otherwise headless 2022-03-31 19:41:42 +02:00
Trung Le
a8c578bd93 feat: dockerize, fix sign in loop 2022-03-31 03:06:01 +07: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
bd61963fc2 stealth evasions don't need new, ts complained about type 2022-02-24 17:27:42 +01:00
Ralf Vogler
fe7e3d189d don't log 'Device not supported' 2022-02-24 16:52:50 +01:00
Ralf Vogler
4fc7d65b9b pull up try, #7 2022-02-24 16:46:15 +01:00
Ralf Vogler
59a5f529d8 'I Agree' button only for EU accounts, closes #7 2022-02-17 17:06:05 +01:00
Ralf Vogler
9b70e9e0dc only install chromium instead of also firefox & webkit 2022-02-15 10:36:03 +01:00
Ralf Vogler
d1aad10fac fix locale to en-US
epic-games otherwise uses OS locale for text:
https://github.com/vogler/free-games-claimer/pull/7
2022-02-12 19:54:09 +01:00
Ralf Vogler
8aa0a5229a
link issue redeem keys on external stores for prime-gaming 2022-02-03 12:54:36 +01:00
Ralf Vogler
344770f926
GOG keys should be printed 2022-02-03 12:22:37 +01:00
Ralf Vogler
03140f764c
info on how to run periodically 2022-02-03 12:11:11 +01:00
Ralf Vogler
2e08c41933 prime-gaming: clearer log of number of (un)claimed games 2022-02-02 13:53:34 +01:00
Ralf Vogler
1628b16aea prime-gaming: gog: code: first input is hidden, check for text 2022-02-02 13:42:39 +01:00
Ralf Vogler
e513a76a22
Update README.md 2022-02-02 13:29:19 +01:00
Ralf Vogler
9ac269a396 try Chrome flags --disable-session-crashed-bubble, --restore-last-session
https://superuser.com/questions/1343290/disable-chrome-session-restore-popup
2022-02-02 13:07:24 +01:00
Ralf Vogler
3766754a5f epic-games: catch timeout and save screenshot of hcaptcha 2022-02-02 12:53:12 +01:00
Ralf Vogler
b078398e48
Merge pull request #4 from XEGARE/main
userDataDir path needs to be absolute on Windows
2022-01-31 20:10:51 +01:00
XEGARE
6b55c2b9d4 Fix path for macOS 2022-01-31 23:11:36 +05:00
XEGARE
a231476d3a Changing the path to absolute 2022-01-26 12:05:01 +05:00
Ralf Vogler
35423d6eef epic-games: don't pause after claimed successfully 2022-01-20 20:17:17 +01:00