Commit Graph

172 Commits

Author SHA1 Message Date
csett86 14282cfdfb
2021.11.1 2021-11-04 22:54:44 +01:00
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é 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 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
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 21ef47adb7
2.8.12 2021-09-14 18:50:16 +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
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 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
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 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 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 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
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
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
dependabot[bot] 14fffd0af1
Bump browserslist from 4.11.1 to 4.16.6
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.11.1 to 4.16.6.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.11.1...4.16.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 20:37:17 +00:00
dependabot[bot] 2c21ca98d5
Bump hosted-git-info from 2.8.8 to 2.8.9
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-09 12:38:03 +00:00
Christoph Settgast 8cbf86d535 Update Electron to 12.0.7
See https://github.com/electron/electron/releases/tag/v12.0.7

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-05-08 12:50:55 +02:00
Saúl Ibarra Corretgé 61a890b232 Revert "Update electron-builder to 22.11.1"
This reverts commit 963d6b1224.
2021-05-07 15:41:07 +02:00
Saúl Ibarra Corretgé 3edce68deb 2.8.6 2021-05-07 09:27:25 +02:00
dependabot[bot] 0e17476f28 Bump lodash from 4.17.19 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-07 09:18:38 +02:00
Christoph Settgast 963d6b1224 Update electron-builder to 22.11.1
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-05-06 22:07:12 +02:00
Christoph Settgast 5bf3ca2385 Update Electron to 12.0.6
Security and bug fixes

Signed-off-by: Christoph Settgast <csett86@web.de>
2021-05-01 17:43:12 +02:00
Christoph Settgast 20179f2c3f Update Electron to 12.0.5
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-04-30 15:40:36 +02:00
dependabot[bot] 9044420bec Bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-20 09:36:20 +02:00
Saúl Ibarra Corretgé 97bccd752b 2.8.5 2021-04-14 10:39:45 +02:00
Christoph Settgast f484312cd3 Update Electron to 12.0.4
Security: backported fix for chromium:1196683. #28638
2021-04-14 09:41:20 +02:00
Christoph Settgast 23a5f3b152 Update Electron to 12.0.3
Signed-off-by: Christoph Settgast <csett86@web.de>
2021-04-13 21:40:20 +02:00
Christoph Settgast bbcae1027e chore(deps) Update dependencies
devDependencies left out intentionally, as updating babel & eslint requires
more work and more dependencies due to the deprecation of babel-eslint.
2021-04-06 23:11:57 +02:00
Saúl Ibarra Corretgé 28f1be5480 2.8.4 2021-03-31 00:26:29 +02:00
dependabot[bot] f0957f73f6 Bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-31 00:00:28 +02:00
Saúl Ibarra Corretgé 4c0a96d255 2.8.3 2021-03-24 22:29:03 +01:00
Saúl Ibarra Corretgé f88abef302 2.8.2 2021-03-24 21:57:29 +01:00
Saúl Ibarra Corretgé 8aa9336172 2.8.1 2021-03-24 21:30:40 +01:00
Saúl Ibarra Corretgé 59fb0f2a82 2.8.0 2021-03-24 21:23:50 +01:00