diff options
Diffstat (limited to 'recipes/lastpass/webview.js')
-rw-r--r-- | recipes/lastpass/webview.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/lastpass/webview.js b/recipes/lastpass/webview.js index 2e67364..2b8fc28 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 | 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; |