Merged
Conversation
新增鼠标隐藏支持、自动隐藏功能
新增鼠标移动至四角隐藏功能
更新v2.1.0.0版本
up to date
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades the application to version v2.1.0.0 and adds several new features including process freezing (with optional enhanced freeze via pssuspend64), mouse input hide triggers (middle button, side buttons, and corner detection), and an auto-hide mechanism based on user inactivity.
- Added process freeze and unfreeze functions using both native API and pssuspend64.exe
- Integrated new mouse-based actions and auto-hide features in both core and GUI components
- Updated configuration and settings pages to support additional options and improved UI behaviors
Reviewed Changes
Copilot reviewed 18 out of 18 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| main/core/tools.py | Adds process freeze functionality; defines NtSuspendProcess/NtResumeProcess and uses subprocess for enhanced freeze operations |
| main/core/listener.py | Implements mouse listeners, auto-hide monitoring, and updated window state management |
| main/core/config.py | Updates configuration with new freeze, mouse hide, and auto-hide options |
| main/GUI/window_restore.py | Refactors window restoration with enhanced freeze and restore options |
| main/GUI/setting/options_page.py | Introduces new UI elements for freeze options and admin authority checks |
| (Other GUI files) | Updates hotkeys and binding pages to support new features |
| main/Boss-Key.py | Adjusts startup behavior and cleanup to account for new configuration changes |
| README.md | Documents the new features and updates version/release information |
Comments suppressed due to low confidence (1)
main/core/tools.py:18
- The code below uses 'Config' (e.g., Config.root_path) but does not import it. Consider adding 'from core.config import Config' at the top to prevent a NameError.
from core.model import WindowInfo
| # Boss-Key | ||
|
|
||
|  | ||
|  |
There was a problem hiding this comment.
[nitpick] The word 'bannar' appears to be a misspelling. Consider changing it to 'banner'.
Suggested change
|  | |
|  |
修复非首次启动弹出提示问题
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.
No description provided.