This commit is contained in:
Faker 2025-04-03 10:46:36 +08:00
parent 9f21ab11b6
commit c3e736bed9
6 changed files with 16 additions and 58 deletions

View File

@ -30,7 +30,7 @@ function getLatestFile(files) {
async function getToken() {
const authConfig = await readFile(authFile);
// console.log(authConfig.toString().match(/"token":"(.*?)",/)[1])
return authConfig.toString().match(/"token":"(.*?)",/)[1];
return authConfig.toString().match(/"token":"([^"]*)"(?!.*"token":)/)[1];
}
// getToken()
module.exports.getEnvs = async () => {

15
jd_beangame_sign.js Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long