Skip to content

Conversation

@IvanHanloth
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 21, 2025 04:09
@IvanHanloth IvanHanloth changed the base branch from main to dev April 21, 2025 04:10
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds a new window menu with additional features such as process freezing (both native and enhanced via pssuspend64), auto hide based on user activity, and extended UI components for window restoration, hotkey settings, and extra options.

  • Introduces process freeze/unfreeze functions using native NtSuspendProcess/NtResumeProcess and pssuspend64.
  • Enhances the window listener to support auto hiding via mouse/keyboard activity and screen corner detection.
  • Adds multiple new UI pages for settings, hotkeys, and binding management.

Reviewed Changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
main/core/tools.py New functions for admin checking and process freeze/unfreeze.
main/core/listener.py Extended listener with auto hide, mouse/keyboard activity, and enhanced freeze support.
main/core/config.py New configuration options for freezing and mouse button/edge hide features.
main/GUI/window_restore.py Updated UI for window restoration and process control with admin prompts.
main/GUI/setting/options_page.py New options UI for configuring window and freeze settings.
main/GUI/setting/hotkeys_page.py New hotkey recording functionality and additional mouse options.
main/GUI/setting/binding_page.py Updates for managing window binding in the settings UI.
main/GUI/setting/base.py Base settings window integrating the new UI pages.
main/Boss-Key.py Adjustments to use the new settings window and lock file path.
Comments suppressed due to low confidence (1)

main/core/tools.py:45

  • The variable 'Config' is used in this file without an import which may lead to a NameError. Please add 'from core.config import Config' at the top of the file.
pssuspend_path =os.path.join(Config.root_path,"pssuspend64.exe")

@IvanHanloth IvanHanloth merged commit 1ffbfbd into dev Apr 21, 2025
@IvanHanloth IvanHanloth deleted the addWindowMenu branch April 21, 2025 04:13
@IvanHanloth IvanHanloth linked an issue Apr 21, 2025 that may be closed by this pull request
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.

新增窗口菜单

2 participants