From 18801ed0c02627e87639dc0848cab44dacc18be2 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Mon, 18 Apr 2022 06:51:50 -0500 Subject: Rebranded from 'ferdi' to 'ferdium' (companion changes for the main repo PR #2) --- recipes/discord/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/discord/index.js') diff --git a/recipes/discord/index.js b/recipes/discord/index.js index 9efa7a3..a49555f 100644 --- a/recipes/discord/index.js +++ b/recipes/discord/index.js @@ -1,8 +1,8 @@ -module.exports = Ferdi => class Discord extends Ferdi { +module.exports = Ferdium => class Discord extends Ferdium { overrideUserAgent() { const useragent = window.navigator.userAgent; const parts = useragent.split('(KHTML, like Gecko)'); - return parts.join('(KHTML, like Gecko) discord/0.0.250').replace('Electron', 'Discord').replace('Ferdi', 'Discord'); + return parts.join('(KHTML, like Gecko) discord/0.0.250').replace('Electron', 'Discord').replace('Ferdium', 'Discord'); } }; -- cgit v1.2.3-70-g09d2