2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-14 00:54:04 +00:00
nativefier/.github
Johan von Forstner 79009e87cd
Add getDisplayMedia and PipeWire support (#1477)
I'm picking up @RickStanley's abandoned PR #1321 again to add
screensharing support (fixes #927), with the following additional
changes:

- In newer Electron versions, `desktopCapturer.getSources` must be
called from the main process, so I solved this with an IPC call.
- Importing from `./helpers/helpers` in 'preload.ts' does not work, as
was mentioned by @DimICE in
https://github.com/nativefier/nativefier/pull/1321#issuecomment-1001518035.
I'm not very familiar with TypeScript or Electron, so not sure why that
is and how it could be solved - for now I just copied the referenced
`isWayland` function to `preload.ts`.
- Add a screensharing test to the manual test script, as requested by
@ronjouch in
https://github.com/nativefier/nativefier/pull/1321#issuecomment-1006725818

As far as I understood from the discussion in #1321, the last point was
basically the only thing that was missing to get this merged, correct?

---------

Co-authored-by: Rick Stanley <rick-stanley@outlook.com>
Co-authored-by: Rick Stanley <rick.stanley@lambda3.com.br>
Co-authored-by: Ronan Jouchet <ronan@jouchet.fr>
2023-03-23 11:50:19 -04:00
..
ISSUE_TEMPLATE bug.yml & feature.yml & question.yml: more 2022-07-23 18:31:24 -04:00
workflows CI: test on 12 and **19**, now that 19 is out 2022-11-07 17:34:20 -05:00
CONTRIBUTING.md Build: re-introduce a package-lock.json file 2021-09-20 11:25:43 -04:00
dock-screenshot.png Get rid of "docs" folder (#1194) 2021-05-21 18:16:59 -04:00
generate-changelog generate-changelog: don't break if npm out returns 1, which it normally does on outdated deps, which is all the time 2021-11-01 15:57:33 -04:00
manual-test Add getDisplayMedia and PipeWire support (#1477) 2023-03-23 11:50:19 -04:00
nativefier-walkthrough.gif README: whoopsie, bad rename of animation 2021-05-21 18:17:59 -04:00