diff options
author | 2021-05-26 18:10:17 +0530 | |
---|---|---|
committer | 2021-05-26 20:34:46 +0530 | |
commit | e05d27ea49929e763906e6c430ec79c1a093dde7 (patch) | |
tree | 89cbe160de00b97d45537b0d2fc589244f8a24c7 /recipes/lastpass/webview.js | |
parent | Minifying images (diff) | |
download | ferdium-recipes-e05d27ea49929e763906e6c430ec79c1a093dde7.tar.gz ferdium-recipes-e05d27ea49929e763906e6c430ec79c1a093dde7.tar.zst ferdium-recipes-e05d27ea49929e763906e6c430ec79c1a093dde7.zip |
Replace 'remote' with 'electron/remote'
Bumped up major version for affected recipes to denote breaking changes
Diffstat (limited to 'recipes/lastpass/webview.js')
-rw-r--r-- | recipes/lastpass/webview.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/lastpass/webview.js b/recipes/lastpass/webview.js index 4fdd007..2e67364 100644 --- a/recipes/lastpass/webview.js +++ b/recipes/lastpass/webview.js | |||
@@ -1,12 +1,12 @@ | |||
1 | "use strict"; | 1 | "use strict"; |
2 | 2 | ||
3 | const { | 3 | const { |
4 | remote | 4 | getCurrentWebContents |
5 | } = require('electron'); | 5 | } = require('@electron/remote'); |
6 | 6 | ||
7 | const path = require('path'); | 7 | const path = require('path'); |
8 | 8 | ||
9 | const webContents = remote.getCurrentWebContents(); | 9 | const webContents = getCurrentWebContents(); |
10 | const { | 10 | const { |
11 | session | 11 | session |
12 | } = webContents; | 12 | } = webContents; |
@@ -47,4 +47,4 @@ module.exports = Franz => { | |||
47 | 47 | ||
48 | Franz.injectCSS(path.join(__dirname, 'service.css')); | 48 | Franz.injectCSS(path.join(__dirname, 'service.css')); |
49 | Franz.loop(getMessages); | 49 | Franz.loop(getMessages); |
50 | }; \ No newline at end of file | 50 | }; |