aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/lastpass/webview.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <avijayr@protonmail.com>2021-05-26 18:10:17 +0530
committerLibravatar Vijay Raghavan Aravamudhan <vraravam@users.noreply.github.com>2021-05-26 20:34:46 +0530
commite05d27ea49929e763906e6c430ec79c1a093dde7 (patch)
tree89cbe160de00b97d45537b0d2fc589244f8a24c7 /recipes/lastpass/webview.js
parentMinifying images (diff)
downloadferdium-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.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};