()
| 248 | } |
| 249 | |
| 250 | async function main() { |
| 251 | const accounts = splitAccounts(process.env.skyworth || process.env.chuangwei || ""); |
| 252 | if (!accounts.length) { |
| 253 | $.log("未找到变量 skyworth 或 chuangwei"); |
| 254 | return; |
| 255 | } |
| 256 | for (let i = 0; i < accounts.length; i++) { |
| 257 | await new Skyworth(accounts[i], i + 1).run(); |
| 258 | if (i < accounts.length - 1) await $.wait(1500, 3000); |
| 259 | } |
| 260 | } |
| 261 | |
| 262 | main() |
| 263 | .catch((e) => $.log(`脚本异常: ${e.message || e}`)) |
no test coverage detected