From 6e7c7b1bb035c8eb3d353cca1bc9bf803f76989d Mon Sep 17 00:00:00 2001 From: Federico <38290480+FedeIlLeone@users.noreply.github.com> Date: Sat, 28 Oct 2023 17:47:35 +0200 Subject: [PATCH] fix(util): openExternal undefined --- src/renderer/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/util.ts b/src/renderer/util.ts index 34f9a8312..1cb418c82 100644 --- a/src/renderer/util.ts +++ b/src/renderer/util.ts @@ -172,7 +172,7 @@ export async function goToOrJoinServer(invite: string): Promise { } export async function openExternal(url: string): Promise { - const mod = getBySource<(url: string) => Promise>(/href=\w;\w\.target="_blank"/); + const mod = getBySource<(url: string) => Promise>(/href=\w,\w\.target="_blank"/); if (!mod) { throw new Error("Could not find openExternal"); }