From e05d27ea49929e763906e6c430ec79c1a093dde7 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Wed, 26 May 2021 18:10:17 +0530 Subject: Replace 'remote' with 'electron/remote' Bumped up major version for affected recipes to denote breaking changes --- recipes/lastpass/webview.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'recipes/lastpass/webview.js') 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 @@ "use strict"; const { - remote -} = require('electron'); + getCurrentWebContents +} = require('@electron/remote'); const path = require('path'); -const webContents = remote.getCurrentWebContents(); +const webContents = getCurrentWebContents(); const { session } = webContents; @@ -47,4 +47,4 @@ module.exports = Franz => { Franz.injectCSS(path.join(__dirname, 'service.css')); Franz.loop(getMessages); -}; \ No newline at end of file +}; -- cgit v1.2.3-70-g09d2