Skip to content

V2.0.1.0版本发布#48

Merged
IvanHanloth merged 15 commits intomainfrom
dev
Jan 17, 2025
Merged

V2.0.1.0版本发布#48
IvanHanloth merged 15 commits intomainfrom
dev

Conversation

@IvanHanloth
Copy link
Copy Markdown
Owner

This pull request includes several updates and improvements across multiple files, focusing on workflow automation, application behavior, and code refactoring. The most important changes include modifications to GitHub Actions workflows, enhancements to the main application logic, and updates to the configuration and utility functions.

Workflow Automation:

Application Behavior:

  • main/Boss-Key.py: Improved the logic to handle scenarios where the application might already be running, providing options to continue or exit. Enhanced the is_already_running method to check process names for more accurate detection. [1] [2]
  • main/GUI/taskbar.py: Refactored the taskbar menu creation and improved the startup behavior handling to provide better user notifications and state management.
  • main/GUI/setting.py: Added a call to Config.HotkeyListener.ShowWindows() when saving settings.

Configuration and Utility Functions:

  • main/core/config.py: Updated the application version and release date.
  • main/core/tools.py: Refactored the startup modification functions to separate adding and removing startup entries. Added a utility function remove_duplicates to remove duplicates from a list while preserving order. [1] [2] [3]

Code Refactoring:

  • main/core/listener.py: Simplified the logic in the HideWindows method to avoid redundant checks and added a call to remove_duplicates to ensure unique window handles.

@IvanHanloth IvanHanloth merged commit 97b1804 into main Jan 17, 2025
IvanHanloth added a commit that referenced this pull request Feb 2, 2025
Merge pull request #48 from IvanHanloth/dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant