Commit graph

687 commits

Author SHA1 Message Date
Ralf Vogler
abc73964e6 ae: fix eslint issues 2025-05-29 17:37:10 +02:00
Ralf Vogler
c772df26e9 update readme 2025-05-29 17:34:43 +02:00
Ralf Vogler
d7956ee437 eg: #483: also can't solve captcha with OpenGL working 2025-05-29 16:26:02 +02:00
Ralf Vogler
0f72aec108 test #483: WebGL hardware accelerated with --ignore-gpu-blocklist 2025-05-29 15:57:01 +02:00
Ralf Vogler
2d0624b33c ae: fix auto-login, Collect worked with Promise.any this time
https://github.com/vogler/free-games-claimer/issues/484#issuecomment-2915665695
2025-05-29 00:35:40 +02:00
Ralf Vogler
4bcd6e0132 eg: fix unset locale
https://github.com/vogler/free-games-claimer/issues/484#issuecomment-2917585429
2025-05-28 23:12:34 +02:00
Ralf Vogler
3d25737e0f ae: fix Collect not being clicked before it exits 2025-05-27 23:36:15 +02:00
Ralf Vogler
89cbe704d5 npm run docker:build-log to use buildx and show full log 2025-05-27 01:38:52 +02:00
Ralf Vogler
9988f39658 docker: xvfb needs flag for OpenGL which is needed to solve eg captcha..., #183 2025-05-27 01:37:33 +02:00
Ralf Vogler
b959bf5330
Merge pull request #479 from vogler/patchright
Fixes #183. See #470 for more details.

Tested:
- epic-games - works without captcha now
- prime-gaming - seems to work, didn't test claiming on all the external stores, some patchright-related issues may come up
- gog - works for me, but had the most issues with patchright, may fail on slow machines where I inserted 2s waitForTimeout as a quick fix
- aliexpress - claiming coins should work, login is broken (unrelated)
- unrealengine - login failed, didn't test rest, needs to be updated/merged anyway (unrelated)

Only tested epic-games in docker, rest without, but should behave the same.
2025-05-27 00:24:50 +02:00
Ralf Vogler
6b51d54946 npm rm playwright-firefox puppeteer-extra-plugin-stealth 2025-05-27 00:08:00 +02:00
Ralf Vogler
b3bf92c2d9 use patchright in unrealengine and steam-games (both stale) 2025-05-27 00:05:13 +02:00
Ralf Vogler
4a19e5775e aliexpress: use patchright, keep fingerprint-injector for mobile view
claiming coins should work, but can only test tomorrow
2025-05-26 23:56:33 +02:00
Ralf Vogler
3156c03b03 fix lint $BROWSER 2025-05-26 02:50:26 +02:00
Ralf Vogler
29576f0af0 pg: use patchright: elementHandles() broken, didn't test PG_REDEEM 2025-05-26 02:42:23 +02:00
Ralf Vogler
2d5f232ba5 gog: use patchright, works, but prob. not reliable due to used timeouts; waitFor() broken? 2025-05-26 02:41:17 +02:00
Ralf Vogler
ce5bac6a03 eg: ignore SHOW=0 since it leads to captcha 2025-05-26 01:01:15 +02:00
Ralf Vogler
34b24f3eb7 make patchright work in docker 2025-05-26 00:46:09 +02:00
Ralf Vogler
6ce17f667e Merge branch 'dev' into patchright 2025-05-25 22:25:11 +02:00
Ralf Vogler
a2e1ef60e6 fix 656f746626: yaml quotes... 2025-05-25 22:11:32 +02:00
Ralf Vogler
90cdf04b8a docker: comment on ARG -> ENV 2025-05-25 20:38:19 +02:00
Ralf Vogler
3e3baa0d3e docker healthcheck: check that noVNC is reachable (and node running) 2025-05-25 20:02:26 +02:00
Ralf Vogler
3329d597b9 add healthcheck (just checks for node) to Dockerfile and docker-compose.yml 2025-05-25 19:37:00 +02:00
Ralf Vogler
656f746626 only run js/sonarqube for changes to **.js, **.ts, package.json 2025-05-25 17:13:30 +02:00
Ralf Vogler
68d6122e8c fix b4dcd0b: $@ needed to run command...
https://github.com/vogler/free-games-claimer/actions/runs/15238732349/job/42856083012
2025-05-25 17:01:46 +02:00
Ralf Vogler
82d39d30b6 NOWAIT=1 to fail fast instead of waiting for user input
hitting ctrl-c 3x to abort is annoying...
2025-05-25 16:40:09 +02:00
Ralf Vogler
9285b52017 respect INTERACTIVE=1 in gog and eg, not just pg 2025-05-25 16:38:56 +02:00
Ralf Vogler
f7a584c415 fix SonarQube Scan version
https://github.com/marketplace/actions/official-sonarqube-scan
2025-05-25 16:19:33 +02:00
Ralf Vogler
3b321a28d6 js.yml forgot one npx -> bunx 2025-05-25 16:16:17 +02:00
Ralf Vogler
b4dcd0b8af fix actionlint/shellcheck: $@ -> $*
https://www.shellcheck.net/wiki/SC2145
2025-05-25 16:12:03 +02:00
Ralf Vogler
33227081f6 fix js.yml
https://github.com/vogler/free-games-claimer/actions/runs/15238258120/job/42855019873
2025-05-25 15:27:32 +02:00
Ralf Vogler
25078694cd upgrade deprecated sonarcloud-github-action -> sonarqube-scan-action
SonarScanner
This action is deprecated and will be removed in a future release. Please use the sonarqube-scan-action action instead. The sonarqube-scan-action is a drop-in replacement for this action.
2025-05-25 15:24:46 +02:00
Ralf Vogler
4288bf1d39 same triggers (push, PRs) for js, mega-linter, sonar 2025-05-25 15:14:14 +02:00
Ralf Vogler
0158bd64a6 use emd/cmd for js.yml 2025-05-25 15:05:04 +02:00
Ralf Vogler
f06bcccce0 echo -e for \n 2025-05-25 12:03:03 +02:00
Ralf Vogler
713600d4e0 grep size for image from df output 2025-05-25 11:59:04 +02:00
Ralf Vogler
590a78f7df can't remove buildkit images? 2025-05-25 11:41:27 +02:00
Ralf Vogler
b8fbc0a95d docker image rm buildkit stuff? 2025-05-25 11:35:44 +02:00
Ralf Vogler
07a2c81f05 uncompressed docker size with buildx 2025-05-25 11:23:32 +02:00
Ralf Vogler
3065ad1c5e .dockerignore = strict superset of .gitignore, not DRY, but ok... 2025-05-25 11:09:10 +02:00
Ralf Vogler
6f3dbdbe14 need other commands to get sizes for docker buildx? 2025-05-25 02:00:41 +02:00
Ralf Vogler
d508675d0b log (un)compressed docker image size = shared + unique 2025-05-25 01:41:07 +02:00
Ralf Vogler
d2e8f000b5 rm cross-env for npm run docker since it wasn't working right - readme as single source of truth for docker run cmd 2025-05-25 01:10:16 +02:00
Ralf Vogler
d05837b6b8 rm @microsoft/eslint-formatter-sarif (uses its own old eslint) and wget sarif.js 2025-05-25 00:34:10 +02:00
Ralf Vogler
a110b237d5 bun install almost twice as fast 2025-05-25 00:14:49 +02:00
Ralf Vogler
3d2df7654c switch ci from npm to bun
https://bun.sh/guides/runtime/cicd
2025-05-25 00:12:54 +02:00
Ralf Vogler
ef94943ee8 nicer md for job summary 2025-05-25 00:08:28 +02:00
Ralf Vogler
2380d24e60 howfat tables don't work as md 2025-05-25 00:06:02 +02:00
Ralf Vogler
305effe7f1 dep size in job summary? 2025-05-24 23:56:46 +02:00
Ralf Vogler
fee46d38e0 ci/js: check size of dependencies
https://stackoverflow.com/questions/40642008/how-do-i-view-the-size-of-npm-packages
2025-05-24 23:40:48 +02:00