From b052fd176d8b8bdb60a13c743f318c239aebb08f Mon Sep 17 00:00:00 2001 From: Emil Pettersson Date: Sat, 20 Jun 2020 01:30:32 +0200 Subject: [PATCH] Updated for v8.3.3-wvvmp --- README.md | 10 +++++----- electron.d.ts | 4 ++-- package.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 8d674c9..c7b8120 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# castLabs Electron v8.3.2 for Content Security +# castLabs Electron v8.3.3 for Content Security Check out the [Wiki](https://github.com/castlabs/electron-releases/wiki) for general news and other updates. @@ -12,7 +12,7 @@ The provided builds are VMP-signed for development use, i.e. using Widevine UAT The sections below will describe the additions to the Electron APIs, for anything else refer to the regular Electron documentation: -[Electron README](https://github.com/electron/electron/blob/v8.3.2/README.md) +[Electron README](https://github.com/electron/electron/blob/v8.3.3/README.md) > **NOTE**: The section about Widevine DRM in the regular Electron documentation does not apply to this fork of Electron since the Widevine components are now automatically installed and configured. @@ -30,11 +30,11 @@ becomes: ``` "dependencies": { - "electron": "https://github.com/castlabs/electron-releases#v8.3.2-wvvmp" + "electron": "https://github.com/castlabs/electron-releases#v8.3.3-wvvmp" } ``` -The `#v8.3.2-wvvmp` part of the URL references a specific release tag for Electron for Content Security, if it is left out the master branch will be tracked instead. +The `#v8.3.3-wvvmp` part of the URL references a specific release tag for Electron for Content Security, if it is left out the master branch will be tracked instead. ## Migrating from an earlier castLabs Electron for Content Security release @@ -66,7 +66,7 @@ Widevine CDM verification/installation/update is normally automatically triggere ### `app.verifyWidevineCdm([options])` * `options` Object (optional) - * `session` [Session](https://github.com/electron/electron/blob/v8.3.2/docs/api/session.md) (optional) + * `session` [Session](https://github.com/electron/electron/blob/v8.3.3/docs/api/session.md) (optional) * `disableUpdate` boolean (optional) Initiates asynchronous Widevine CDM verify/install/update procedure and returns no value. Once initiated Widevine related events will be emitted as necessary, namely `widevine-ready`, `widevine-update-pending` & `widevine-error`. Unless the `no-verify-widevine-cdm` command line parameter is set this API is automatically triggered on startup and should not be called manually. If customized options are necessary `no-verify-widevine-cdm` should be set and the API call made once, very early, after the app has received the `ready` event (but before loading any media-related content to avoid potentially requiring a restart). diff --git a/electron.d.ts b/electron.d.ts index 3ca77bc..307bfa6 100644 --- a/electron.d.ts +++ b/electron.d.ts @@ -1,4 +1,4 @@ -// Type definitions for Electron 8.3.2 +// Type definitions for Electron 8.3.3 // Project: http://electronjs.org/ // Definitions by: The Electron Team // Definitions: https://github.com/electron/electron-typescript-definitions @@ -11910,7 +11910,7 @@ See webContents.sendInputEvent for detailed description of `event` object. * Will be called with `click(menuItem, browserWindow, event)` when the menu item * is clicked. */ - click?: (menuItem: MenuItem, browserWindow: BrowserWindow, event: KeyboardEvent) => void; + click?: (menuItem: MenuItem, browserWindow: (BrowserWindow) | (undefined), event: KeyboardEvent) => void; /** * Can be `undo`, `redo`, `cut`, `copy`, `paste`, `pasteAndMatchStyle`, `delete`, * `selectAll`, `reload`, `forceReload`, `toggleDevTools`, `resetZoom`, `zoomIn`, diff --git a/package.json b/package.json index 6c3cdd3..923d95e 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "node": ">= 8.6" }, "name": "electron", - "version": "8.3.2-wvvmp", + "version": "8.3.3-wvvmp", "repository": "https://github.com/castlabs/electron-releases", "description": "Build cross platform desktop apps with JavaScript, HTML, CSS, and Widevine DRM protection", "license": "MIT",