📝 Update tutorials to ES6 [ci skip]
This commit is contained in:
parent
3271492c86
commit
55babea2bb
7 changed files with 66 additions and 63 deletions
|
@ -59,8 +59,8 @@ app.commandLine.appendSwitch('widevine-cdm-path', '/path/to/widevinecdmadapter.p
|
|||
// The version of plugin can be got from `chrome://plugins` page in Chrome.
|
||||
app.commandLine.appendSwitch('widevine-cdm-version', '1.4.8.866');
|
||||
|
||||
var mainWindow = null;
|
||||
app.on('ready', function() {
|
||||
let mainWindow = null;
|
||||
app.on('ready', () => {
|
||||
mainWindow = new BrowserWindow({
|
||||
webPreferences: {
|
||||
// The `plugins` have to be enabled.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue