Commit Graph

389 Commits

Author SHA1 Message Date
csett86 ae306f5c5d
mac: Enable autoupdate by sign and notarize via github action (#581)
mac: Enable autoupdate by sign and notarize via github action

Signed and notarized binaries are the precondition for autoupdates on
mac. Additionally Gatekeeper on 10.15+ is happy and allows to open the
app instead of blocking it.

The notarize step is added unconditionally, as it only emits a warning if
the notarization API key is not set, but it does not break the build.

This is an upstreaming of https://github.com/csett86/jitsi-meet-electron
where it worked since March 2020.

On CI, only sign if not triggered by pull request, as these will fail (as secrets
are not available to pull request builds).

The required github secrets (signing key, cert and notarize API login, password and team id) are:

Signing

Open the Keychain Access app. Export all certificates (Developer ID Certificate) related to your app into a single file (e.g. certs.p12) and set a strong password.

Base64-encode your certificates using the following command: base64 -i certs.p12 -o encoded.txt

In the GitHub repository, go to Settings → Secrets and add the following two variables:

    mac_certs: Your base64 encoded certificates, i.e. the content of the encoded.txt file you created before
    mac_certs_password: The password you set when exporting the certificates

Notarization

Create an app-specific password for your apple id: https://support.apple.com/de-de/HT204397

In the GitHub repository, go to Settings → Secrets and add the following three variables:

    apple_id: your apple id
    apple_id_password: the just created app-specific password for your apple id
    team_id: your team short name: https://github.com/electron/electron-notarize#notes-on-your-team-short-name

Co-authored-by: Saúl Ibarra Corretgé <s@saghul.net>
2021-11-04 22:29:34 +01:00
Saúl Ibarra Corretgé 6a60a6d8cd Update CI to use Node 16 / npm 8 2021-11-02 12:44:47 +01:00
Saúl Ibarra Corretgé b4c239ac9f Update package-lock.json file to npm 8
Fixes: https://github.com/jitsi/jitsi-meet-electron/issues/650
2021-11-02 12:44:47 +01:00
csett86 6cb32ec7e6
ci: move to macOS 11 and 20.04 (#651)
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-11-02 07:12:48 +01:00
csett86 a1c330961e
2.9.1 2021-10-19 21:51:40 +02:00
csett86 3fc1306961
chore(deps): Replace mac-screen-capture-permissions (#647)
Update jitsi-meet-electron-utils to replace it with electron API.

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-10-19 12:21:35 +02:00
csett86 2975fd0928
chore(deps): update electron to 13.5.2 (#643)
Mostly chromium security updates, for all details
see https://github.com/electron/electron/releases/tag/v13.5.0,
https://github.com/electron/electron/releases/tag/v13.5.1,
https://github.com/electron/electron/releases/tag/v13.5.2

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-10-18 11:40:19 +02:00
ovari 91d6b255fd Update README.md 2021-10-18 10:46:44 +02:00
ovari 3c8a45b056 Update README.md
https://github.com/jitsi/jitsi-meet-electron/issues/636
https://github.com/jitsi/jitsi-meet-electron/pull/640
2021-10-18 10:13:05 +02:00
ovari e3b9231112
Localize desktop file on Linux 2021-10-18 09:29:17 +02:00
csett86 83b489325d
chore(deps): update electron-builder to 22.11.11 and move to node 14(#583)
electron-builder 22.11.0+ requires node 14, so update node 12 -> node 14
as well.

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-10-17 20:56:25 +02:00
csett86 8544d2c373
2.9.0 2021-09-21 21:57:05 +02: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
ovari 9c13108eb3
Update hu.json (#637) 2021-09-19 11:13:53 +02:00
csett86 21ef47adb7
2.8.12 2021-09-14 18:50:16 +02:00
csett86 3cf1ca33f0
Merge pull request #634 from jitsi/electron-13-4-0 2021-09-14 17:02:08 +02:00
Christoph Settgast e96e05a27c chore(deps): update electron to 13.4.0
Mostly chromium security updates, for all details
see https://github.com/electron/electron/releases/tag/v13.4.0

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-09-14 14:15:33 +02:00
csett86 c64509b722
chore(deps): update electron to 13.3.0 (#631) 2021-09-08 11:04:51 +02:00
Yuka f3dcdda41b
fix: only set `enable-features` if the user hasn't 2021-09-07 09:45:49 +02:00
csett86 227e2e0a71
2.8.11 2021-08-28 19:14:03 +02:00
csett86 84d58ac7db
chore(deps): update electron to 13.2.3
Mostly chromium security updates, for all details
see https://github.com/electron/electron/releases/tag/v13.2.2 and
https://github.com/electron/electron/releases/tag/v13.2.3

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-08-28 19:05:53 +02:00
csett86 60d9db0803
chore(deps): update electron to 13.2.1 (#624) 2021-08-23 11:58:09 +02:00
csett86 f5a649895c
2.8.10 2021-08-11 22:11:25 +02:00
csett86 bf251d227c
chore(deps): update electron to 13.1.9 (#621)
Mostly chromium security updates, for all details
see https://github.com/electron/electron/releases/tag/v13.1.9

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-08-11 19:28:32 +02:00
dependabot[bot] 417637004c
chore(deps): bump path-parse from 1.0.6 to 1.0.7 (#620)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-10 22:32:21 +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
csett86 9569a46f8a
2.8.9 2021-07-26 20:07:58 +02:00
csett86 bf5f993107
chore(deps): update electron to 13.1.7 (#610) 2021-07-26 12:57:53 +02:00
hmuresan ade214591f chore(deps) Update external_api.js 2021-07-21 13:53:13 +03:00
csett86 5586f8648c
2.8.8 2021-07-01 20:36:18 +02:00
csett86 41714375ba
chore(deps): update electron to 12.0.13 (#605) 2021-06-30 10:25:56 +02:00
csett86 defb570e8c
feat(recent-list): add an explanatory label (#591) 2021-06-28 09:44:01 +02:00
csett86 0fdb2257ab
fix(deb): match dependencies with ldd from electron 12 (#604) 2021-06-28 09:43:42 +02:00
csett86 a028aefd57
lang(en): clarify that main input is room name, not participant (#592)
based on the suggestions from #588

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-06-27 20:59:15 +02:00
csett86 9b1e3904ac
refactor: reduce shipped artifact size (#589)
This moves all webpacked deps to be automatically included from the asar
and thus reduces the shipped binary by 14MB on Windows, 16 MB on Mac and
12MB on Linux. The installed size on mac is reduced by 105 MB.

Previously all the dependencies were webpacked and minified in the asar in the
build folder and in its full installed version unused under node_modules.

Only keep the dependencies that are externally required in the node-modules
folder.

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-06-27 20:58:48 +02:00
csett86 e5d5bcc1db
feat: support config overwrite via URL parameters (#594)
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-06-27 20:57:44 +02:00
csett86 2baa4b5282
refactor: remove dependency to deprected remote module (#593)
the remote module will be removed from electron 14 onwards,
so replace the locale detection with native browser api that
is available in the renderer.

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-06-27 20:57:25 +02:00
csett86 055d0b1f95
2.8.7 2021-06-26 10:05:46 +02:00
csett86 5aebf78787
chore(deps): update electron to 12.0.12 (#602) 2021-06-26 10:02:18 +02:00
dependabot[bot] 5299809d92
Bump postcss from 7.0.27 to 7.0.36 (#600)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.27 to 7.0.36.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.27...7.0.36)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-25 22:24:24 +02:00
Christoph Settgast 9afadd9172 fix(mac): remove wifi stats as they cause hangs every 10 seconds
The getWiFiStats causes screen freezes every 10 seconds for 2-4 seconds,
thus temporarily remove them on mac.

Closes: #595
2021-06-11 10:14:00 -05:00
csett86 bad5d067c5
Merge pull request #599 from jitsi/electron-12-0-11 2021-06-10 21:51:43 +02:00
Christoph Settgast 89b9a638ce chore(deps): update electron to 12.0.11
Fixes a memory leak when requesting files in ASAR archive from renderer

For all details, see https://github.com/electron/electron/releases/tag/v12.0.11

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-06-10 21:40:07 +02:00
csett86 3d9f5519f0
Merge pull request #598 from jitsi/dependabot/npm_and_yarn/normalize-url-4.5.1
Bump normalize-url from 4.5.0 to 4.5.1
2021-06-10 21:33:17 +02:00
csett86 ae1966abaf
Merge pull request #597 from jitsi/dependabot/npm_and_yarn/merge-deep-3.0.3
Bump merge-deep from 3.0.2 to 3.0.3
2021-06-10 21:29:26 +02:00
dependabot[bot] d074a1ffa1
Bump normalize-url from 4.5.0 to 4.5.1
Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1.
- [Release notes](https://github.com/sindresorhus/normalize-url/releases)
- [Commits](https://github.com/sindresorhus/normalize-url/commits)

---
updated-dependencies:
- dependency-name: normalize-url
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-09 04:27:44 +00:00
dependabot[bot] 13768677a6
Bump merge-deep from 3.0.2 to 3.0.3
Bumps [merge-deep](https://github.com/jonschlinkert/merge-deep) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/jonschlinkert/merge-deep/releases)
- [Commits](https://github.com/jonschlinkert/merge-deep/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: merge-deep
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-08 12:42:21 +00:00
csett86 d74fbc3c2f
Merge pull request #595 from jitsi/electron-12-0-10 2021-06-04 20:28:58 +02:00
Christoph Settgast f3a6289a60 chore(deps) update electron to 12.0.10
Security updates and bugfixes, see https://github.com/electron/electron/releases/tag/v12.0.10

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-06-04 11:33:43 +02:00
csett86 77a203e4b1
Merge pull request #590 from jitsi/dependabot/npm_and_yarn/browserslist-4.16.6
Bump browserslist from 4.11.1 to 4.16.6
2021-05-25 19:27:50 +02:00