From 70d19e176bde66504e283f15953e6ab3d0bab2c9 Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Wed, 25 May 2022 03:39:27 +0100 Subject: [PATCH 1/2] Resolved #1047 and all the other 1000s of issues --- src/main/index.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/index.ts b/src/main/index.ts index 300a7058..ce2d043d 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -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(); From 9c47cd5e2c5137b7e5d3350957671858a9a100f0 Mon Sep 17 00:00:00 2001 From: Core <64542347+coredev-uk@users.noreply.github.com> Date: Wed, 25 May 2022 03:55:28 +0100 Subject: [PATCH 2/2] bad code --- src/renderer/main/vueapp.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/renderer/main/vueapp.js b/src/renderer/main/vueapp.js index 0c61a79c..c31d6198 100644 --- a/src/renderer/main/vueapp.js +++ b/src/renderer/main/vueapp.js @@ -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;