Skip to content

Conversation

@IvanHanloth
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 20, 2025 13:51
@IvanHanloth IvanHanloth changed the base branch from main to dev April 20, 2025 13:51
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 PR adds a process freeze tool to the application, enabling processes to be frozen and resumed using both native Windows functionality and an enhanced mode via pssuspend64. Key changes include:

  • New functions for suspending/resuming processes in main/core/tools.py.
  • Updates to the listener and configuration to support process freezing.
  • GUI modifications adding options and controls for managing process freeze behavior.

Reviewed Changes

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

Show a summary per file
File Description
main/core/tools.py New process freeze and resume functions added.
main/core/listener.py Integration of process freeze into window hide logic.
main/core/config.py Added configuration options for freeze functionality.
main/GUI/window_restore.py New buttons and controls for process freeze/resume.
main/GUI/setting/options_page.py New UI options for enabling freeze and enhanced freeze.
Other GUI files Adjustments to support the new process freeze features.
Comments suppressed due to low confidence (1)

main/GUI/setting/binding_page.py:86

  • [nitpick] The variable name 'list' shadows the built-in Python type. Consider renaming it to a more descriptive name, such as 'available_windows', to avoid potential issues.
        list = []

@IvanHanloth IvanHanloth linked an issue Apr 20, 2025 that may be closed by this pull request
@IvanHanloth IvanHanloth merged commit 901aee0 into dev Apr 20, 2025
@IvanHanloth IvanHanloth deleted the FreezeProcess branch April 20, 2025 13:55
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