mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-29 01:05:37 +00:00
- electron/main.ts: treat missing sourceId on linux as portal sentinel so the request handler never calls getSources() (which itself opens an extra portal dialog) on fresh sessions. - useScreenRecorder.ts: persist the synthesized portal sentinel via selectSource() so main has the source set before getDisplayMedia. Extract acquireLinuxPortalStream() helper to dedupe the three duplicated getDisplayMedia constraint blocks. - LaunchWindow.tsx: hide the screen-source selector button (and its separator) on Linux so users cannot trigger an extra portal dialog via the dropdown.