refactor: Remove deprecated files and enhance configuration settings
- Deleted outdated markdown files and scripts related to previous implementations. - Updated `config.json` to adjust thresholds and settings for 福袋 detection and reservation handling. - Improved logging and error handling across various modules for better monitoring and user experience. - Introduced a new screenshot management module to facilitate real-time operation and success tracking. - Enhanced GUI elements to support new configuration options and improve usability.
This commit is contained in:
1 parent
8b47b506d6
commit
47e6b016c5
31 files changed
+2257
-7371
No files matched your search
+2
-2
@@ -74,7 +74,7 @@ class RunParams:
|
||||
y_pianyi: int
|
||||
needswitch: bool
|
||||
wait_minutes: int
|
||||
skip_if_countdown_lt_seconds: int
|
||||
skip_if_countdown_gt_seconds: int
|
||||
reset_after_swipes_enabled: bool
|
||||
reset_after_swipes: int
|
||||
min_prize_value_yuan: float
|
||||
@@ -364,7 +364,7 @@ class Runner:
|
||||
cmd += ["--min-prize-value-yuan", str(params.min_prize_value_yuan)]
|
||||
|
||||
# 这些参数是新增可调节项:倒计时太短跳过、参与人数范围
|
||||
cmd += ["--skip-if-countdown-lt-seconds", str(int(params.skip_if_countdown_lt_seconds or 15))]
|
||||
cmd += ["--skip-if-countdown-gt-seconds", str(int(params.skip_if_countdown_gt_seconds or 900))]
|
||||
if params.reset_after_swipes_enabled:
|
||||
cmd.append("--reset-after-swipes-enabled")
|
||||
cmd += ["--reset-after-swipes", str(int(params.reset_after_swipes or 10))]
|
||||
|
||||
Reference in new issue
Block a user