diff options
author | 2021-06-04 18:44:31 +0530 | |
---|---|---|
committer | 2021-06-04 18:46:15 +0530 | |
commit | 8d878e9aba3e46f9dadfa6c0de0b403c356b1f20 (patch) | |
tree | 84e74e09b1b17cdc439f51c253708bef28fc747f /recipes/whatsapp/webview.js | |
parent | Converted from travis builds to GH Actions (diff) | |
download | ferdium-recipes-8d878e9aba3e46f9dadfa6c0de0b403c356b1f20.tar.gz ferdium-recipes-8d878e9aba3e46f9dadfa6c0de0b403c356b1f20.tar.zst ferdium-recipes-8d878e9aba3e46f9dadfa6c0de0b403c356b1f20.zip |
Reverted '@electron/remote' changes since the badges were broken for whatsapp and other recipes.
Diffstat (limited to 'recipes/whatsapp/webview.js')
-rw-r--r-- | recipes/whatsapp/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
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 @@ | |||
1 | "use strict"; | 1 | "use strict"; |
2 | 2 | ||
3 | const { | 3 | const { |
4 | getCurrentWebContents | 4 | remote |
5 | } = require('@electron/remote'); | 5 | } = require('electron'); |
6 | 6 | ||
7 | const path = require('path'); | 7 | const path = require('path'); |
8 | 8 | ||
9 | const webContents = getCurrentWebContents(); | 9 | const webContents = remote.getCurrentWebContents(); |
10 | const { | 10 | const { |
11 | session | 11 | session |
12 | } = webContents; | 12 | } = webContents; |