2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-12-22 10:08:55 +00:00
Commit Graph

1274 Commits

Author SHA1 Message Date
Adam Weeden
cef8e42251 Fix directory and add clarification for new smoke test 4 2023-03-24 16:48:16 -04:00
Adam Weeden
dacfcd2cb8 Add some type hinting post-package update for Axios 2023-03-24 16:47:54 -04:00
Adam Weeden
6c867925bb Update outdated shrinkwrap files 2023-03-24 16:19:05 -04:00
Adam Weeden
69625f1a01
Fix broken tests (#1523) 2023-03-24 14:16:49 -04:00
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
Ronan Jouchet
8d3396acc3 ESLint: scrap unused var 2022-11-07 18:37:03 -05:00
Ronan Jouchet
ec0c1461ee Update changelog for v50.0.1 2022-11-07 18:29:29 -05:00
Ronan Jouchet
379e807bc2 Bump default Electron from 19.0.17 to 19.1.4 2022-11-07 18:18:23 -05:00
Ronan Jouchet
2335dbce7d Bump axios from 0.x to 1.x. No breaking changes for us, https://github.com/axios/axios/blob/v1.x/CHANGELOG.md#100---2022-10-04 2022-11-07 18:12:12 -05:00
Ronan Jouchet
f42e94646a Relock app dependencies 2022-11-07 18:08:34 -05:00
Ronan Jouchet
14f8535050 Relock CLI dependencies 2022-11-07 18:07:51 -05:00
Adam777
f046b61a6d
Maximize window visual glitch on Windows fix (fix #1447) (PR #1448)
Fix for [Maximize window visual glitch on Windows · Issue #1447 · nativefier/nativefier](https://github.com/nativefier/nativefier/issues/1447)

Co-authored-by: Ronan Jouchet <ronan@jouchet.fr>
2022-11-07 17:55:11 -05:00
Ronan Jouchet
1fd046798d CI: test on 12 and **19**, now that 19 is out 2022-11-07 17:34:20 -05:00
Ronan Jouchet
ba7244f77a External URL protocols: add zoommtg as no-confirmation
Also, document the current state of things.
Follow-up of https://github.com/nativefier/nativefier/pull/1463 .
2022-11-07 17:29:28 -05:00
Alvaro
f22750b41c
CATALOG.md: Microsoft Teams with css inject (PR #1469)
* Microsoft Teams with custom css injected

I wasted some time trying to setup Microsoft Teams using nativefier, and some issues pointed me in the right direction. I decided to not only stop there, but to inject some css to hide some unnecessary elements from a desktop app, like an app download button and a waffle button that sits on the top left corner.

* Update CATALOG.md

Co-authored-by: Ronan Jouchet <ronan@jouchet.fr>
2022-10-17 16:40:01 -04:00
Alvaro
229bc71935
CATALOG.md: WhatsApp custom CSS for native-looking app on macOS (#1468)
Added injected css to make WhatsApp more native-like in macOS
2022-10-04 22:30:18 -04:00
Ronan Jouchet
b310315604 Update changelog for v50.0.0 2022-09-17 22:48:01 -04:00
Ronan Jouchet
cc957e70d1 Bump default Electron to 19.0.17 (from .14), with security fixes
- https://github.com/electron/electron/releases/tag/v19.0.15
- https://github.com/electron/electron/releases/tag/v19.0.16
- https://github.com/electron/electron/releases/tag/v19.0.17
2022-09-17 22:35:29 -04:00
Ronan Jouchet
93205accd5 relock app 2022-09-17 22:31:05 -04:00
Ronan Jouchet
f53827a8e0 relock cli 2022-09-17 22:30:33 -04:00
Ronan Jouchet
840fe4a199 Add validation to opening URLs in external desktop handler (fix #1459) 2022-09-17 22:22:19 -04:00
Ronan Jouchet
eecc33c1aa Fix double-navigation to pages
setupNativefierWindow is already called in createMainWindow !
No need to call it again here in browser-window-created!
Double-navs weren't visible with internal links but they were with external links
2022-09-17 22:02:10 -04:00
Ronan Jouchet
be2180b53f Update changelog for v49.0.1 2022-08-28 21:04:15 -04:00
Ronan Jouchet
5f1e2cbf55 Revert node types to 12.x, from 14.x accidentally set which is wrong since we still support 12.x 2022-08-28 21:01:19 -04:00
Ronan Jouchet
1933f226cc Bump default Electron to 19.0.14 (from .10)
- https://github.com/electron/electron/releases/tag/v19.0.11
- https://github.com/electron/electron/releases/tag/v19.0.12
- https://github.com/electron/electron/releases/tag/v19.0.13
- https://github.com/electron/electron/releases/tag/v19.0.14
2022-08-28 20:56:28 -04:00
Ronan Jouchet
f337401e34 relock app 2022-08-28 20:42:16 -04:00
Ronan Jouchet
c1a47ae6a8 relock cli 2022-08-28 20:41:15 -04:00
Adam Weeden
c8fc0b6923
macOS: Move handling of "universal" apps to electron-packager instead of our own thing (#1443)
Supported since [electron-packager 15.5.0](https://github.com/electron/electron-packager/releases/tag/v15.5.0).

This should fix #1405  as well
2022-08-01 22:44:23 -04:00
Ronan Jouchet
357f4a9693 Update changelog for v49.0.0 2022-07-30 13:48:46 -04:00
Sirisak Lueangsaksri
57636b9022
macOS: Fix "main window cannot be activated" (fix #1415, PR #1417) 2022-07-30 13:31:18 -04:00
Ronan Jouchet
b362fbec3b Relock deps to get gitcloud 0.2.4 with "fetch" log fix
https://github.com/nativefier/gitcloud-client/pull/4
2022-07-30 13:27:39 -04:00
Ronan Jouchet
f59564fd6d Bump default Electron to 19.0.10
https://github.com/electron/electron/releases/tag/v19.0.10
2022-07-30 13:25:52 -04:00
Adam Weeden
347c06d250
Remove arch ia32 as it's no longer supported in Electron 19 (fix #1439, PR #1441) 2022-07-30 13:19:45 -04:00
Adam Weeden
82ff609a91
Fix playwright tests on Linux (#1440) 2022-07-30 13:15:30 -04:00
Ronan Jouchet
0de2463f2b Docker: actually let's use *lts*-alpine, for more futureproof-ness 2022-07-24 12:26:22 -04:00
Ronan Jouchet
c725243152 Docker: upgrade base node-alpine img from 12 to 18
Node 12 makes PlayWright complain,
https://github.com/nativefier/nativefier/runs/7489079540?check_suite_focus=true
2022-07-24 12:25:09 -04:00
Ronan Jouchet
73bc316c99 HACKING / major-upgrading Electron: link to blog 2022-07-24 12:13:06 -04:00
Ronan Jouchet
01ef78e37c Update changelog for v48.0.0 2022-07-24 12:12:32 -04:00
Ronan Jouchet
1aa7760aa2
Major-bump default Electron from 18 to 19 (#1438)
https://github.com/electron/electron/releases/tag/v19.0.0
https://github.com/electron/electron/releases/tag/v19.0.1
https://github.com/electron/electron/releases/tag/v19.0.2
https://github.com/electron/electron/releases/tag/v19.0.3
https://github.com/electron/electron/releases/tag/v19.0.4
https://github.com/electron/electron/releases/tag/v19.0.5
https://github.com/electron/electron/releases/tag/v19.0.6
https://github.com/electron/electron/releases/tag/v19.0.7
https://github.com/electron/electron/releases/tag/v19.0.8
https://github.com/electron/electron/releases/tag/v19.0.9
2022-07-24 11:56:07 -04:00
Ronan Jouchet
f6e585b3cc relock app 2022-07-24 11:25:33 -04:00
Ronan Jouchet
1f67a9f9a7
Bump jest to 28 (#1437)
https://jestjs.io/blog/2022/04/25/jest-28
https://jestjs.io/docs/upgrading-to-jest28
https://github.com/facebook/jest/blob/main/CHANGELOG.md#2800

Co-authored-by: Adam Weeden <adamweeden@gmail.com>
2022-07-24 11:24:59 -04:00
Ronan Jouchet
a4ef7481de Make URL override smarter (thx Adam)
to not crash local PlayWright tests that here might get
Electron command-line options.

See https://github.com/nativefier/nativefier/pull/1437#issuecomment-1193315259
2022-07-24 10:34:31 -04:00
Ronan Jouchet
e12da46064 Playwright tests: document DEBUG mode 2022-07-23 20:05:48 -04:00
Ronan Jouchet
c3e010f881 re-introduce yargs fix but without upgrading jest to 28 breaking tests, to work on it separately 2022-07-23 19:27:26 -04:00
Ronan Jouchet
9db7ad050a Revert "nit" and "bump jest and fix yargs typing"
This reverts commit b737c40931.
This reverts commit 8eb05ded9b.
2022-07-23 19:20:24 -04:00
Ronan Jouchet
b737c40931 nit 2022-07-23 19:10:44 -04:00
Ronan Jouchet
8eb05ded9b bump jest and fix yargs typing 2022-07-23 19:07:54 -04:00
Ronan Jouchet
207bb1790f bump jest **types**, so far it still builds 2022-07-23 18:43:09 -04:00
Ronan Jouchet
6b3db5de11 relock cli 2022-07-23 18:39:04 -04:00
Ronan Jouchet
d499b5f1c3 bug.yml & feature.yml & question.yml: more 2022-07-23 18:31:24 -04:00