feat: add optional new epic claimer mode
This commit is contained in:
parent
4ce50e2e43
commit
7a9f31df7c
6 changed files with 464 additions and 44 deletions
|
|
@ -15,6 +15,7 @@ export const cfg = {
|
|||
get headless() {
|
||||
return !this.debug && !this.show;
|
||||
},
|
||||
eg_mode: process.env.EG_MODE || 'legacy', // epic-games: legacy playwright flow or 'new' API-driven flow
|
||||
width: Number(process.env.WIDTH) || 1920, // width of the opened browser
|
||||
height: Number(process.env.HEIGHT) || 1080, // height of the opened browser
|
||||
timeout: (Number(process.env.TIMEOUT) || 60) * 1000, // default timeout for playwright is 30s
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue