docker, #15: use rimraf since rm -f is del /f on Windows
This commit is contained in:
parent
a38e0def81
commit
baebfd5b8c
2 changed files with 9 additions and 4 deletions
|
|
@ -3,13 +3,14 @@
|
|||
"login": "npx playwright open --save-storage=auth.json https://www.epicgames.com/login",
|
||||
"codegen": "npx playwright codegen --load-storage=auth.json https://www.epicgames.com/store/en-US/free-games",
|
||||
"docker:build": "docker build --tag free-games-claimer .",
|
||||
"docker:epic-games": "rm -f userDataDir/SingletonLock && cross-env-shell docker run --rm -it -p 5900:5900 -p 6080:6080 -v \"$INIT_CWD/userDataDir\":/fgc/userDataDir --name free-games-claimer free-games-claimer"
|
||||
"docker:epic-games": "rimraf userDataDir/SingletonLock && cross-env-shell docker run --rm -it -p 5900:5900 -p 6080:6080 -v \"$INIT_CWD/userDataDir\":/fgc/userDataDir --name free-games-claimer free-games-claimer"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@playwright/test": "^1.20.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"playwright": "^1.20.1",
|
||||
"puppeteer-extra-plugin-stealth": "^2.9.0"
|
||||
"puppeteer-extra-plugin-stealth": "^2.9.0",
|
||||
"rimraf": "^3.0.2"
|
||||
},
|
||||
"type": "module"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue