зеркало из https://github.com/electron/electron.git
correct reference chrome://plugins to components (#18237)
This commit is contained in:
Родитель
87a337a536
Коммит
8f200595ba
|
@ -75,7 +75,7 @@ const { app, BrowserWindow } = require('electron')
|
|||
// * `libwidevinecdm.dylib` on macOS,
|
||||
// * `widevinecdm.dll` on Windows.
|
||||
app.commandLine.appendSwitch('widevine-cdm-path', '/path/to/widevine_library')
|
||||
// The version of plugin can be got from `chrome://plugins` page in Chrome.
|
||||
// The version of plugin can be got from `chrome://components` page in Chrome.
|
||||
app.commandLine.appendSwitch('widevine-cdm-version', '1.4.8.866')
|
||||
|
||||
let win = null
|
||||
|
|
Загрузка…
Ссылка в новой задаче