ITADN

Enhance process start handling and error management

#45Pull Requestazuravian 创建于 2025-08-24已合并
A
azuraviancommented
- Modified `CloneProcessStartInfo` to accept an `elevated` parameter for better control over process privileges. - Updated `BuildAndRun` to utilize the new parameter, streamlining user and admin process creation. - Changed `RunProcess` to remove the `redirect` parameter, with internal handling based on `UseShellExecute`. - Improved error handling for process execution, addressing both access denied and elevation required scenarios. - Adjusted uninstall logic to leverage the updated `CloneProcessStartInfo`. - Incremented version from `1.8.0` to `1.8.1` in `extension.yaml`.
合并状态:已合并 合并于 2025-08-24 关闭于 2025-08-24 0 条评论