fuck widevine piss drm.

This commit is contained in:
cryptofyre 2022-02-08 23:27:28 -06:00
parent ffec528b9d
commit 748db1030a
2 changed files with 6 additions and 3 deletions

View file

@ -97,9 +97,9 @@
} }
], ],
"build": { "build": {
"electronVersion": "16.0.7", "electronVersion": "16.0.8",
"electronDownload": { "electronDownload": {
"version": "16.0.7+wvcus", "version": "16.0.8+wvcus",
"mirror": "https://github.com/castlabs/electron-releases/releases/download/v" "mirror": "https://github.com/castlabs/electron-releases/releases/download/v"
}, },
"appId": "cider", "appId": "cider",

View file

@ -41,10 +41,13 @@ app.on('ready', () => {
require('vue-devtools').install() require('vue-devtools').install()
} }
components.whenReady().then(async () => { app.whenReady().then(async () => {
await components.whenReady();
const bw = new BrowserWindow() const bw = new BrowserWindow()
const win = await bw.createWindow() const win = await bw.createWindow()
console.log('[Cider][Widevine] Status:', components.status());
win.on("ready-to-show", () => { win.on("ready-to-show", () => {
Cider.bwCreated(); Cider.bwCreated();
CiderPlug.callPlugins('onReady', win); CiderPlug.callPlugins('onReady', win);