mirror of
https://github.com/babalae/bettergi-scripts-list.git
synced 2026-03-19 03:59:51 +08:00
@@ -530,10 +530,13 @@ async function main() {
|
||||
if (Date.now() - last_log_progress_time > 30000) {
|
||||
last_log_progress_time = Date.now();
|
||||
if (target_yield !== null) {
|
||||
log.info("当前产出{estimate}:{a}/{b}个", (estimated_yield === accurate_yield ? "" : "(预计)"), Math.round(estimated_yield), target_yield);
|
||||
const estimated_prompt = estimated_yield === accurate_yield ? "" : "(预计)";
|
||||
log.info(`当前产出${estimated_prompt}:${Math.round(estimated_yield)}/${target_yield}个`);
|
||||
}
|
||||
if (run_until_unix_time !== null) {
|
||||
log.info("当前运行时间:{a}/{b}分钟", ((Date.now() - start_time) / 1000 / 60).toFixed(2), Math.round((run_until_unix_time - start_time) / 60 / 1000));
|
||||
const running_minutes = ((Date.now() - start_time) / 1000 / 60).toFixed(2);
|
||||
const total_minutes = Math.round((run_until_unix_time - start_time) / 60 / 1000);
|
||||
log.info(`当前运行时间:${running_minutes}/${total_minutes}分钟`);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -568,4 +571,4 @@ async function main() {
|
||||
|
||||
(async function() {
|
||||
await main();
|
||||
})();
|
||||
})();
|
||||
|
||||
Reference in New Issue
Block a user