diff --git a/src/main/about.html b/src/main/about.html index 589d81d42..95434b5f3 100644 --- a/src/main/about.html +++ b/src/main/about.html @@ -108,9 +108,15 @@

Equicord

- v{{VERSION}} ({{GIT_HASH}}) + + + v{{VERSION}} + + ({{GIT_HASH}}) +
-

An enhanced version of Vencord. A fork that offers a wider selection of plugins from the community.

+

An enhanced version of Vencord. A fork that offers a wider selection of plugins from the + community.

@@ -177,4 +183,12 @@ } walk(document.body); - + + document.addEventListener("click", (e) => { + const a = e.target.closest("a[href]"); + if (!a) return; + + e.preventDefault(); + window.open(a.href); + }); + \ No newline at end of file diff --git a/src/main/trayMenu.ts b/src/main/trayMenu.ts index 32bde1cb5..e477ae62e 100644 --- a/src/main/trayMenu.ts +++ b/src/main/trayMenu.ts @@ -71,7 +71,9 @@ function openAboutWindow() { width }); - const aboutParams = aboutHtml.replace("{{VERSION}}", VERSION).replace("{{GIT_HASH}}", gitHashShort); + const aboutParams = aboutHtml + .replaceAll("{{VERSION}}", VERSION) + .replaceAll("{{GIT_HASH}}", gitHashShort); const base64Html = Buffer.from(aboutParams).toString("base64"); aboutWindow.loadURL(`data:text/html;base64,${base64Html}`); aboutWindow.on("closed", () => {