[Feature Request]: desktopCapturer.getSources returned the related pid, appName of windows
- Dominant language
- C++
- Stars
- 123k
- Forks
- 17.5k
- Avg merge
- 14h 22m
- Merged PRs (30d)
- 873
Description
### Preflight Checklist
- [X] I have read the [Contributing Guidelines](https://github.com/electron/electron/blob/main/CONTRIBUTING.md) for this project.
- [X] I agree to follow the [Code of Conduct](https://github.com/electron/electron/blob/main/CODE_OF_CONDUCT.md) that this project adheres to.
- [X] I have searched the [issue tracker](https://www.github.com/electron/electron/issues) for a feature request that matches the one I want to file, without success.
### Problem Description
I want to category all windows by process name, now `DesktopCapturerSource` only has it's appIcon, no appName.
### Proposed Solution
returned the appName and pid info in `DesktopCapturerSource`.
### Alternatives Considered
exposed some api in the result.
### Additional Information
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.