aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/lastpass/webview.js
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/lastpass/webview.js')
-rw-r--r--recipes/lastpass/webview.js8
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
3const { 3const {
4 remote 4 getCurrentWebContents
5} = require('electron'); 5} = require('@electron/remote');
6 6
7const path = require('path'); 7const path = require('path');
8 8
9const webContents = remote.getCurrentWebContents(); 9const webContents = getCurrentWebContents();
10const { 10const {
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};