Bump & Fix Widevine (note: this breaks window animations until electron fixes their shit.)
This commit is contained in:
parent
abf5b91117
commit
aee73bdb0e
2 changed files with 5 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
|||
require('v8-compile-cache');
|
||||
|
||||
import {app, components, ipcMain} from 'electron';
|
||||
const {app, components, ipcMain} = require('electron');
|
||||
import {join} from 'path';
|
||||
|
||||
if (!app.isPackaged) {
|
||||
|
@ -41,8 +41,7 @@ app.on('ready', () => {
|
|||
require('vue-devtools').install()
|
||||
}
|
||||
|
||||
app.whenReady().then(async () => {
|
||||
await components.whenReady();
|
||||
components.whenReady().then(async () => {
|
||||
const bw = new BrowserWindow()
|
||||
const win = await bw.createWindow()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue