diff options
Diffstat (limited to 'recipes/lastpass')
-rw-r--r-- | recipes/lastpass/package.json | 2 | ||||
-rw-r--r-- | recipes/lastpass/webview.js | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/recipes/lastpass/package.json b/recipes/lastpass/package.json index 38e5cfd..302d40b 100644 --- a/recipes/lastpass/package.json +++ b/recipes/lastpass/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "lastpass", | 2 | "id": "lastpass", |
3 | "name": "LastPass", | 3 | "name": "LastPass", |
4 | "version": "2.0.0", | 4 | "version": "2.0.1", |
5 | "description": "LastPass integration", | 5 | "description": "LastPass integration", |
6 | "main": "index.js", | 6 | "main": "index.js", |
7 | "author": "Janis Hau <janis@my-new.me>, Jonathan Winter <jonathanhwinter@gmail.com>", | 7 | "author": "Janis Hau <janis@my-new.me>, Jonathan Winter <jonathanhwinter@gmail.com>", |
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; |