Fix-Import and Refactor command execution
#### PR Classification
Refactor installer command execution logic in the `LocalLibrary` namespace.
#### PR Summary
This pull request refactors the installer command execution by replacing the `RunCommand` method with `BuildAndRun`, enhancing code structure and readability. It also introduces a new method for cloning `ProcessStartInfo` objects and updates logging messages for clarity.
- **LocalLibrary.cs**: Replaced `RunCommand` with `BuildAndRun` for improved command execution.
- **LocalLibrary.cs**: Added `CloneProcessStartInfo` method to facilitate `ProcessStartInfo` cloning.
- **LocalLibrary.cs**: Updated logging messages for better clarity and context.
- **LocalLibrary.cs**: Modified several using directives to include necessary namespaces.
- **FindInstallers.cs**: Changed logging message format for preferred installer filename checks.
合并状态:已合并 合并于 2025-08-13 关闭于 2025-08-13 0 条评论