diff options
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 | }; |