From 8d878e9aba3e46f9dadfa6c0de0b403c356b1f20 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Fri, 4 Jun 2021 18:44:31 +0530 Subject: Reverted '@electron/remote' changes since the badges were broken for whatsapp and other recipes. --- recipes/whatsapp/webview.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes/whatsapp/webview.js') diff --git a/recipes/whatsapp/webview.js b/recipes/whatsapp/webview.js index 5dd3729..8320d9e 100644 --- a/recipes/whatsapp/webview.js +++ b/recipes/whatsapp/webview.js @@ -1,12 +1,12 @@ "use strict"; const { - getCurrentWebContents -} = require('@electron/remote'); + remote +} = require('electron'); const path = require('path'); -const webContents = getCurrentWebContents(); +const webContents = remote.getCurrentWebContents(); const { session } = webContents; -- cgit v1.2.3-70-g09d2