electron / electron

:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS

Home Page:https://electronjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request]: desktopCapturer.getSources returned the related pid, appName of windows

scq000 opened this issue · comments

Preflight Checklist

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