aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/discord
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 18:19:43 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-04-18 18:19:43 -0500
commitc819fe925dac556dee8336d3c19147073179c71a (patch)
treecf8e759a854b8a2b7c992e07f3b00a8887febe92 /recipes/discord
parentRebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2) (diff)
downloadferdium-recipes-c819fe925dac556dee8336d3c19147073179c71a.tar.gz
ferdium-recipes-c819fe925dac556dee8336d3c19147073179c71a.tar.zst
ferdium-recipes-c819fe925dac556dee8336d3c19147073179c71a.zip
Remove deprecated 'nativeWindowOpen' option from webPreferences due to upgrade of electron to '18.'
Diffstat (limited to 'recipes/discord')
-rw-r--r--recipes/discord/package.json2
-rw-r--r--recipes/discord/webview.js1
2 files changed, 1 insertions, 2 deletions
diff --git a/recipes/discord/package.json b/recipes/discord/package.json
index bba848b..1dc89b4 100644
--- a/recipes/discord/package.json
+++ b/recipes/discord/package.json
@@ -1,7 +1,7 @@
1{ 1{
2 "id": "discord", 2 "id": "discord",
3 "name": "Discord", 3 "name": "Discord",
4 "version": "1.6.0", 4 "version": "1.7.0",
5 "license": "MIT", 5 "license": "MIT",
6 "config": { 6 "config": {
7 "serviceURL": "https://discordapp.com/login", 7 "serviceURL": "https://discordapp.com/login",
diff --git a/recipes/discord/webview.js b/recipes/discord/webview.js
index a72ef3a..16a3a1a 100644
--- a/recipes/discord/webview.js
+++ b/recipes/discord/webview.js
@@ -49,7 +49,6 @@ module.exports = (Ferdium, settings) => {
49 minWidth: 600, 49 minWidth: 600,
50 webPreferences: { 50 webPreferences: {
51 partition: `persist:service-${settings.id}`, 51 partition: `persist:service-${settings.id}`,
52 nativeWindowOpen: true,
53 // TODO: Aren't these needed here? 52 // TODO: Aren't these needed here?
54 // contextIsolation: false, 53 // contextIsolation: false,
55 }, 54 },