Refactor reservation preemption handling and logging

- Removed the reservation preempt minimum value from the Runner and GUI components.
- Updated logging mechanism to streamline log message handling and improve readability.
- Introduced a new method for appending log lines in the Runner class.
- Cleaned up related GUI elements and configuration options in web interface.
- Deleted obsolete simulation scripts related to reservation preemption checks.
This commit is contained in:
Your Name committed 2026-01-07 21:24:10 +08:00
1 parent eb96d6869e
commit 93d47a16d6
20 files changed
+786 -1051

No files matched your search

-2
View File
@@ -62,7 +62,6 @@ const DEFAULTS = {
// 是否禁用福袋内容OCR识别(仅前端默认,实际值以 config.json 为准)
fudai_disable_content_recognition: false,
live_room_match_threshold: 0.8,
reservation_preempt_min_value: 0,
reservation_back_swipe_delay: 0.6,
// 定时禁抢福袋(默认 2-7 点)
@@ -657,7 +656,6 @@ async function startRun() {
reservation_back_verify_enabled: cfgPart.reservation_back_verify_enabled,
reservation_back_swipe_delay: cfgPart.reservation_back_swipe_delay,
fudai_find_max_attempts: cfgPart.fudai_find_max_attempts,
reservation_preempt_min_value: cfgPart.reservation_preempt_min_value,
});
// 检查返回结果