Conversation
Before: The <runtimes> setting for script will be applied to each subscript as well. After: Each subscript will be run only once upon calling.
Add a formatted script write to format the recorded script. Currently, a single event will be wrote in single line. The dump parameter are set to 'tailing_commas=False,quote_keys=True' to remove extra commas at end of item
In commit 79ac6d8 , `event_list` is mistakenly typed as `event_str`
This commit synchronizes `UIView.ui` with the UI changes for the timer feature, which were previously only applied to the generated `UIView.py` file in commit cddcb58. The following changes were made: - The timer-related widgets (labels, combo boxes, and checkboxes) have been added to the `UIView.ui` source file. - The `UIView.py` file has been regenerated from the updated `UIView.ui` to ensure consistency. - The initialization logic for populating the new combo boxes has been added to `UIFunc.py`. This resolves the inconsistency between the UI source file and the generated Python code, aligning with the recommended development workflow.
Previously, the input recording listeners (pynput on Linux/macOS and pyWinhook on Windows) were not stopped when the application was closed. This caused a race condition, leading to a `RuntimeError` on exit as the listener threads tried to access already-deleted Qt objects. This commit resolves the issue by: - Introducing a `stop_listeners` function in both `UniversalRecorder` and `WindowsRecorder` to properly terminate the listener threads or unhook the listeners. - Ensuring these functions are called from the main `dispose` function when the application's `closeEvent` is triggered. This prevents the crash and ensures a clean shutdown on all supported platforms.
Major changes: 1. Directory Structure Optimization - Create UI/ directory to consolidate all PySide6 logic, views, and resource definitions. - Create assets/img/ directory to unify storage of icons, previews, and third-party logos. 2. Logic Decoupling and Refactoring - Add Util/Path.py for unified absolute path conversion logic. - Refactor UI modules into a package structure using relative imports. - Remove redundant code from KeymouseGo.py and Plugin/Manager.py. 3. Compatibility Updates - Update image reference paths in README.md and README_en-US.md. - Update UI/assets.qrc paths and re-generate assets_rc.py. - Optimize .gitignore rules.
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.
🚀 新特性 (New Features)
🐞 缺陷修复 (Bug Fixes)
RuntimeError崩溃。📝 文档更新 (Documentation)