fix
This commit is contained in:
@@ -219,6 +219,11 @@ app.whenReady().then(async () => {
|
||||
(await evaluate('!!window.screenBridge && !!document.querySelector("main.control")')),
|
||||
'control UI',
|
||||
)
|
||||
if (process.argv.includes('--materials-prepare')) {
|
||||
await require('./materials-prepare-smoke.cjs')({ evaluate, poll })
|
||||
app.exit(0)
|
||||
return
|
||||
}
|
||||
if (process.argv.includes('--clear-games')) {
|
||||
await evaluate(`window.screenBridge.selectPackage(${JSON.stringify(offlinePackage.key)})`)
|
||||
await poll(() => evaluate('!!document.querySelector("[data-testid=clear-games]:not([disabled])")'), 'clear games button')
|
||||
|
||||
Reference in New Issue
Block a user