Commit graph

61 commits

Author SHA1 Message Date
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
Saúl Ibarra Corretgé c50e6344f7 Add ability to watch / autoreload in development mode
Fixes: https://github.com/jitsi/jitsi-meet-electron/issues/103

Co-authored-by: Akshit Kr Nagpal <akshitkrnagpal@gmail.com>
2018-08-17 23:06:46 +02:00
akshitkrnagpal 7c23809c2a Replaced deprecated method app.makeSingleInstance() 2018-08-16 10:06:46 +02:00
Saúl Ibarra Corretgé 36c2978782 Misc style fixes 2018-08-14 09:37:08 +02:00
akshitkrnagpal 5b66dd5d17 Configured auto-update 2018-07-18 10:01:20 +02:00
akshitkrnagpal 9dca49fc99 Added application menu for enabling copy/paste (MacOS) 2018-07-16 08:11:49 +02:00
akshitkrnagpal 26b55c7559 Force single instance application 2018-07-15 08:24:54 +02:00
akshitkrnagpal 921b7f6f9b Configured electron-builder for app release 2018-07-05 21:00:19 +02:00
akshitkrnagpal 5ba65fb7d2 Show window once ready-to-show 2018-07-04 08:20:28 +01:00
Akshit Kr Nagpal 93d8268a68 Remember Window State 2018-06-20 21:38:53 +02:00
Saúl Ibarra Corretgé 9b685d30d3 Add development shortcuts
With the menu bar gone, shortcuts to reload the window or open the DevTools
need to be done manually. Thankfully electron-debug takes care of this!
2018-06-19 13:50:45 -05:00
Saúl Ibarra Corretgé da1b6addb5 Don't show the menu bar 2018-06-19 13:50:45 -05:00
Saúl Ibarra Corretgé f3b7b71c94 Style 2018-06-19 13:50:45 -05:00
hristoterezov 1d229dd9ec fix(google-auth): popup. 2018-06-12 17:55:20 -05:00
Saúl Ibarra Corretgé 6f35ddd792 Fix eslint warnings 2018-05-24 17:13:21 +02:00