This commit is contained in:
yazninja 2022-05-25 11:29:12 +08:00
commit d4df4751e9
2 changed files with 4 additions and 4 deletions

View file

@ -50,10 +50,8 @@ app.on('ready', () => {
})
console.log('[Cider][Widevine] Status:', components.status());
Cider.bwCreated();
win.on("ready-to-show", () => {
Cider.bwCreated();
console.debug('[Cider] Window is Ready.')
CiderPlug.callPlugins('onReady', win);
win.show();

View file

@ -4339,8 +4339,10 @@ const app = new Vue({
return;
}
}
if (!this.isDev) // disable in dev mode to keep my sanity
if (!this.isDev) {
// disable in dev mode to keep my sanity
MusicKitInterop.playPause();
}
},
async MKJSLang() {
let u = this.cfg.general.language;