Commit graph

75 commits

Author SHA1 Message Date
Avram Tudor 542c7f089a chore: update jitsi-electron-sdk to 3.0.18 2022-08-24 11:22:27 +03:00
Christoph Settgast 27f663a98f
feat(wayland): enable titlebar when running under wayland (#766)
Use with --ozone-platform-hint=auto to enable

Closes: #683
2022-08-12 07:46:41 +02:00
Christoph Settgast 886994e9f4
chore(deps): update electron to 19.0.6 (#760)
Contains Chromium 98 -> 102 update, for high level overview see

https://www.electronjs.org/blog/electron-18-0
https://www.electronjs.org/blog/electron-19-0

Plan B support is now removed as well, as chromium 102 no longer offers
it: https://chromestatus.com/feature/5823036655665152

Signed-off-by: Christoph Settgast <csett86@web.de>
2022-06-26 19:15:16 +02:00
Christoph Settgast a505107456
chore: use require instead of global process (#741) 2022-03-28 20:38:03 +02:00
Christoph Settgast 381903bb3d
chore: nativeWindowOpen is default true and will be removed with electron18 (#723)
nativeWindowOpen is default since Electron 15, and the parameter will be
removed with Electron 18, thus prep for this.

See https://github.com/electron/electron/blob/main/docs/breaking-changes.md#removed-nativewindowopen
2022-03-04 22:20:33 +01:00
hmuresan 233dad2421 chore(electron-bump) Update to electron 17.0.1
- allow plan-b until we switch to unified plan
2022-02-15 19:39:53 +02:00
Christoph Settgast 8f316d66b8
cleanup: insertable streams and wasm SIMD are on by default (#693)
insertable streams since M86 according to https://chromestatus.com/feature/6321945865879552
wasm SIMD since M91 according to https://chromestatus.com/feature/6533147810332672
remote module is no longer used/present, thus remove that noop enable as well
2021-12-29 09:25:45 +01:00
csett86 7ef12df188
cleanup: remove unused mac electron/universal workaround (#688)
Since d383521 the binaries are universal itself, so app.asar is no
longer split by electron/universal. Thus remove the now unnecessary
workaround.
2021-12-11 21:53:01 +01:00
csett86 94f39ce107
refactor: Remove electron-store to be ready for electron 14+ (#668)
Release this ~3 months after 2.9.0 was released (21 Sep 2021) so
that users had 3 months to migrate to local storage

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-12-01 11:33:34 +01:00
csett86 dd33388be7
refactor: follow rename of jitsi-meet-electron-utils to @jitsi/electron-sdk (#662) 2021-11-11 21:35:17 +01:00
csett86 d0fd3333d2
feat: as robotjs is context-aware, allow reuse of render processes (#660)
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-11-08 22:02:09 +01:00
csett86 ca21b040c4
Update jitsi-meet-electron-utils to electron 14+ compatible version (#655)
Replaced all remote module usages
Updated robotjs to context-aware fork
Updated node-gyp on windows to get it compiling again
2021-11-06 13:42:54 +01:00
csett86 295ea6d1ec
Switch to local storage and migrate old settings (#638)
This is a preparation for electron 14+, where electron-store is no longer
in a usable state (currently used version does not work due to remote module
removed in electron 14, latest version extends every app startup to 10 seconds).

Once sufficient migration period has passed, electron-store and
redux-persist-electron-storage and the ipc call introduced here
(electron-store-exists) can be removed.
2021-09-20 10:40:27 +02:00
Yuka f3dcdda41b
fix: only set enable-features if the user hasn't 2021-09-07 09:45:49 +02:00
csett86 625b8b828f
Enable WebAssemblyCSP flag so wasm-eval CSP can be used instead of requiring unsafe-eval (#617) 2021-07-31 11:41:17 +02:00
Christoph Settgast 0e0483cbc5 feat(linux): enable PipeWire support for screensharing
This is required on wayland based desktops like Fedora 34 or
Ubuntu 21.04.

Closes: #567
2021-05-12 21:07:47 +02:00
Saúl Ibarra Corretgé 10ac02c57f Enable field trial to enable Opus RED 2021-04-14 10:39:04 +02:00
Christoph Settgast 5c49372e11 Enhancements to make it more Mac App Store (mas) compatible
- disable the autoupdater if running as mas (was not working anyway, just logging an error on every start)
- replace check via app.requestSingleInstanceLock() with LSMultipleInstancesProhibited in Info.plist
  due to https://github.com/electron/electron/issues/15958
- Quit the app also when all windows are closed to conform to macOS Human Interface Guidelines
  Comments from review:
  If the application is a single-window app, it might be appropriate to save data and quit the app when the main window is closed.
- "asarUnpack": "**/*.node" to also sign the native addons when packaging
- add the required mas-specific entitlements which include the app-sandbox key

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-03-15 00:20:20 +01:00
Christoph Settgast 9b09a4bfa9 Switch mac build to universal build
Apple's documentation suggests that apps should be shipped as universal binaries
to simplify the process for the users. See eg. https://developer.apple.com/documentation/apple-silicon/porting-your-macos-apps-to-apple-silicon

Also update electron-updater to latest version (matching electron-builder version)
as part of this.

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-03-15 00:13:00 +01:00
Saúl Ibarra Corretgé da42179d3b Prevent AoT and SS-tracker windows from being captured
In electron utils 2.0.15 we mark them as protected content, but on macOS
WebRTC uses a low level API which sidesteps that. An extra command line
argument is passed to fix that.

See: https://github.com/electron/electron/issues/19880
2021-03-05 23:13:17 +01:00
Saúl Ibarra Corretgé d91bdee321 Re-enable GPU acceleration
It broke screen-sharing, but was fixed in Chrome 88.
2021-03-03 19:51:40 +01:00
Saúl Ibarra Corretgé b1e73df410 Update Electron to version 12.0.0 2021-03-03 19:51:40 +01:00
Saúl Ibarra Corretgé 1c6b603d2f Open WebRTC internals when in dev mode 2021-02-23 11:24:45 +01:00
Saúl Ibarra Corretgé ebdd32a795 Enable WASM SIMD 2021-02-23 11:24:22 +01:00
Saúl Ibarra Corretgé 9243f4b8a9 Update app icon 2020-12-04 13:16:03 +01:00
Jaya Allamsetty 73f9c6178f fix: Disable hw acceleration across all platforms.
Fixes https://github.com/jitsi/jitsi-meet-electron/issues/458.
2020-12-04 09:08:04 +01:00
Jaya Allamsetty f348152242
fix: Disable hardware acceleration on Windows, it causes screenshare to flicker 2020-12-02 23:50:56 +01:00
Saúl Ibarra Corretgé eafda57087 Revert "Revert "Remove no longer needed workaround""
This reverts commit fde36ff5de.
2020-10-28 17:49:52 +01:00
Saúl Ibarra Corretgé ae0cc9ca42 Fix scren-sharing with latest macOS update 2020-10-16 13:43:19 +02:00
Saúl Ibarra Corretgé fde36ff5de Revert "Remove no longer needed workaround"
This reverts commit b2a349a718.
2020-10-01 15:34:53 +02:00
Saúl Ibarra Corretgé 0bb919cffc Enable just insertable streams instead of all experimental features 2020-09-10 15:14:38 +02:00
Saúl Ibarra Corretgé b2a349a718 Remove no longer needed workaround
The bug has since been fixed in Chromium.
2020-09-10 15:14:01 +02:00
Saúl Ibarra Corretgé bd44d0917e Update Electron to version 10 2020-09-10 12:49:55 +02:00
chref e4742dbc99
Fix join via protocol link on Linux (#413)
Perform command-line protocol argument handling on all platforms, not only
win32. This allows the client to join a meeting passed on the command-line
even if it is no instance of the client already running.
2020-07-03 16:43:42 +02:00
Saúl Ibarra Corretgé ca1eb70250 Share logic for opening external links 2020-06-30 11:16:55 +02:00
Christophe Hamerling d12611d79c
Add protocol to open conference links with the app
Co-authored-by: Christophe HAMERLING <chamerling@linagora.com>
Co-authored-by: Klemens Arro <klemens.arro@admcloudtech.com>
Co-authored-by: Goran Urukalo <goran.urukalo@teletrader.com>
2020-06-10 14:21:13 +02:00
Christophe HAMERLING b662c93ac7 Add Application command line flag support for devtools 2020-06-09 11:38:06 +02:00
Christophe HAMERLING 212d8cb92b Add SHOW_DEV_TOOLS environment variable 2020-06-09 11:38:06 +02:00
Saúl Ibarra Corretgé a1ec905ff3 Add context menu
Fixes: https://github.com/jitsi/jitsi-meet-electron/issues/380
2020-06-04 10:32:03 +02:00
Saúl Ibarra Corretgé 9d6eda921f Enable DevTools also on release builds
Fixes: https://github.com/jitsi/jitsi-meet-electron/issues/371
2020-06-02 09:57:34 +02:00
Saúl Ibarra Corretgé 5da33a0094 Disable HW accelerated codecs
Fixes a crash when H.264 is used (in P2P mode).
2020-05-27 10:57:03 +02:00
Saúl Ibarra Corretgé 1f789ec4e7 Update to Electron 9 and enable E2EE
Electron 9 ships with Chrome 83 which means we have access to E2EE by
enabling experimental web platform features.
2020-05-20 21:21:54 +02:00
David Baker 238e28a627 Fix shortcuts on macOS
The regular windows shortcuts (eg. minimise, hide) don't work unless
they have menu entries, so add them along with the standard set of
expected menu items for mac (although I've omitted 'about' since it
opens a window so is a slightly more visible change).

Also Electron has a role for 'quit' so use this instead of providing
our own.
2020-04-30 22:30:58 +02:00
Andrei Gavrilescu 0a18da2a9a Update CI Tools
Co-authored-by: Annika Wickert <awlx@users.noreply.github.com>
2020-04-07 14:30:36 +02:00
Andrei Gavrilescu 81d7aca4b2 fix security issue / update deps 2020-04-07 14:30:36 +02:00
Andrei Gavrilescu 866f94a79b use appName from config 2020-02-20 15:55:05 +01:00
Andrei Gavrilescu 3c448837e7
integrate screen sharing tracker window (#197)
* integrate screen sharing tracker window

* update jitsi-meet-electron-utils required version

* update package.json
2020-02-20 12:52:20 +00:00
Hristo Terezov 061fbf9f88 fix: Electron 5 support. 2019-10-03 09:13:20 -07:00
Дамян Минков 26053fc478
Adds using power monitor and detecting computer suspend. (#174)
* Adds using power monitor and detecting computer suspend.

* Simplify api listener functions.

* Fixes comments.
2019-07-11 14:49:15 +01:00
Saúl Ibarra Corretgé 1bd80139f7 Remove full window dragging hack
It's more trouble than it's worth really. For one, it doesn't work in
brady bunch mode.
2018-12-27 16:56:51 +00:00