Commit Graph

5 Commits

Author SHA1 Message Date
kinoshitakenta 5b87c86223
fix: skip handling alerts that are already closed
Avoids handling alerts that have already been dismissed at the time of operation.
2025-07-03 10:18:35 +08:00
kinoshitakenta 6523fecb5a
feat: improves login status handling
Ability to further handle pop-up windows when login attempts are unsuccessful.

Modified the return value of the `keep_login_status` function to indicate whether the operation was successful or failed.
In case of a failure, no further command actions will be executed.
2025-06-12 16:25:26 +08:00
kinoshitakenta 3c23ee2ce9
feat: improves screen clearing functionality
Updates the screen clearing function to provide a more robust cross-platform solution. It now attempts to reset text attributes on Windows and uses `shutil.which` to locate the `clear` command on Unix-like systems, falling back to ANSI escape codes if necessary.

This change improves the screen-clearing function, ensuring its effectiveness regardless of the operating system or available commands.
2025-05-28 15:57:25 +08:00
kinoshitakenta 0671d49497
feat: validates config path before loading login info
Adds a check to ensure the provided configuration file path exists and is a valid file before attempting to load login information.
2025-05-28 15:45:01 +08:00
kinoshitakenta e0afd876b6
feature: basic features 2024-05-28 11:45:07 +08:00