diff options
author | 2021-09-05 15:14:28 +0530 | |
---|---|---|
committer | 2021-09-05 18:00:26 +0530 | |
commit | a57a4edcb648d025254ede4d18d267b887ad0b8b (patch) | |
tree | c8b75e58cf108a55608f729218885abdb07fd42d /recipes/tweetdeck | |
parent | Add ability to use self-hosted option for 'youtrack' service (fixes #671) (diff) | |
download | ferdium-recipes-a57a4edcb648d025254ede4d18d267b887ad0b8b.tar.gz ferdium-recipes-a57a4edcb648d025254ede4d18d267b887ad0b8b.tar.zst ferdium-recipes-a57a4edcb648d025254ede4d18d267b887ad0b8b.zip |
Remove dependency on 'require' of 'electron' and 'electron/remote' modules.
Instead, use the exposed content from the recipe model in main ferdi.
Diffstat (limited to 'recipes/tweetdeck')
-rw-r--r-- | recipes/tweetdeck/package.json | 2 | ||||
-rw-r--r-- | recipes/tweetdeck/webview.js | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/recipes/tweetdeck/package.json b/recipes/tweetdeck/package.json index dd103f8..a438716 100644 --- a/recipes/tweetdeck/package.json +++ b/recipes/tweetdeck/package.json | |||
@@ -1,7 +1,7 @@ | |||
1 | { | 1 | { |
2 | "id": "tweetdeck", | 2 | "id": "tweetdeck", |
3 | "name": "Tweetdeck", | 3 | "name": "Tweetdeck", |
4 | "version": "1.1.1", | 4 | "version": "1.2.0", |
5 | "license": "MIT", | 5 | "license": "MIT", |
6 | "config": { | 6 | "config": { |
7 | "serviceURL": "https://tweetdeck.twitter.com/", | 7 | "serviceURL": "https://tweetdeck.twitter.com/", |
diff --git a/recipes/tweetdeck/webview.js b/recipes/tweetdeck/webview.js index 6de7d75..b60415d 100644 --- a/recipes/tweetdeck/webview.js +++ b/recipes/tweetdeck/webview.js | |||
@@ -1,7 +1,5 @@ | |||
1 | const { ipcRenderer } = require('electron'); | ||
2 | |||
3 | // Tweetdeck redirect fix | 1 | // Tweetdeck redirect fix |
4 | ipcRenderer.on('redirect-url', (event, url) => { | 2 | Ferdi.ipcRenderer.on('redirect-url', (event, url) => { |
5 | window.location.assign(url); | 3 | window.location.assign(url); |
6 | }); | 4 | }); |
7 | 5 | ||