feat: enhance swipe and back navigation logic
- Adjusted configuration for reset after swipes to 10 seconds and added action to go back. - Updated flow control to skip back action if a recent reset was triggered within 5 seconds. - Implemented a mechanism to enable back navigation when consecutive misses reach a threshold. - Added GUI options to enable or disable back navigation on misses, ensuring consistency with user settings. - Introduced new diagnostic tools for runtime flag checks and screenshot diagnostics. - Created PowerShell scripts for restoring Start Menu shortcuts and performing system health checks. - Added tests for swipe operations and back navigation to validate new logic.
This commit is contained in:
1 parent
0c3a763d63
commit
dcded08796
19 files changed
+936
-22
No files matched your search
@@ -985,6 +985,12 @@ class Runner:
|
||||
cmd.append("--enable-back-on-misses")
|
||||
else:
|
||||
cmd.append("--disable-back-on-misses")
|
||||
# 确保从 GUI 启动时传递回退方式(若启用返回键回退,则将 reset action 设为 back)
|
||||
try:
|
||||
if getattr(params, "enable_back_on_misses", False):
|
||||
cmd += ["--reset-after-swipes-action", "back"]
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# 只养号模式:如果启用则传递到 run_cli.py
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user