Merged
Conversation
修复窗口销毁后再打开隐藏失败的问题
保存新窗口绑定时自动显示已隐藏的窗口
更新v2.0.1.0版本号
IvanHanloth
added a commit
that referenced
this pull request
Feb 2, 2025
Merge pull request #48 from IvanHanloth/dev
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
.github/workflows/build-test.yml: Added apull_requesttrigger for the workflow and renamed the job frombuild-and-releasetobuild-main-files. Introduced a newdeploy-testjob that downloads artifacts and runs tests before proceeding to thecompile-to-installerjob. [1] [2] [3].github/workflows/jekyll-gh-pages.yml: Renamed the workflow to "Update Releases and Pages"..github/workflows/tag-release.yml: Renamed the workflow to "Release New Version".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 theis_already_runningmethod 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 toConfig.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 functionremove_duplicatesto remove duplicates from a list while preserving order. [1] [2] [3]Code Refactoring:
main/core/listener.py: Simplified the logic in theHideWindowsmethod to avoid redundant checks and added a call toremove_duplicatesto ensure unique window handles.