feat: Enhance 福袋 detection and reservation logic
- Updated `config.json` to introduce new settings for infinite loop mode and adjust various thresholds for 福袋 detection. - Refined the pixel detection logic in `douyin_detection.py` to improve error handling and retry mechanisms. - Enhanced reservation handling in `douyin_flow_control.py` to prioritize high-value 福袋 and streamline the switching process. - Improved the GUI in `gui_app.py` to support new configuration options and ensure better user experience. - Added new tools for analyzing 福袋 colors and comparing them with coupon colors to aid in detection accuracy. - Updated documentation to reflect changes in configuration and usage instructions.
This commit is contained in:
1 parent
5bb7d34054
commit
8b47b506d6
27 files changed
+4382
-540
No files matched your search
+3
-1
@@ -346,13 +346,15 @@ class Runner:
|
||||
if self.is_running():
|
||||
raise RuntimeError("已经在运行")
|
||||
|
||||
# 如果 wait_minutes=0,表示无限循环模式
|
||||
wait_minutes_arg = str(params.wait_minutes) if params.wait_minutes > 0 else "0"
|
||||
cmd = [
|
||||
sys.executable,
|
||||
os.path.join(os.path.dirname(__file__), "run_cli.py"),
|
||||
"--y-pianyi",
|
||||
str(params.y_pianyi),
|
||||
"--wait-minutes",
|
||||
str(params.wait_minutes),
|
||||
wait_minutes_arg,
|
||||
]
|
||||
if params.device_id:
|
||||
cmd += ["--device-id", params.device_id]
|
||||
|
||||
Reference in new issue
Block a user