Bump & Fix Widevine (note: this breaks window animations until electron fixes their shit.)

This commit is contained in:
cryptofyre 2022-03-08 16:03:02 -06:00
parent abf5b91117
commit aee73bdb0e
2 changed files with 5 additions and 6 deletions

View file

@ -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()