From 66821e2dcece1b786c2f000b403b73f820b33ecb Mon Sep 17 00:00:00 2001 From: BMT <31258183+PONYMODZ@users.noreply.github.com> Date: Thu, 6 Apr 2023 21:41:33 +0200 Subject: [PATCH] Allow Canary and PTB to use window popout (#372) * Update window.ts allow popout window for canary and ptb as they are selectable via armcord settings * Update window.ts fixed because i forget --- src/window.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.ts b/src/window.ts index c1148b0..6c6f697 100644 --- a/src/window.ts +++ b/src/window.ts @@ -94,7 +94,7 @@ async function doAfterDefiningTheWindow() { // Allow about:blank (used by Vencord QuickCss popup) if (url === "about:blank") return {action: "allow"}; // Allow Discord stream popout - if (url === "https://discord.com/popout") return {action: "allow"}; + if ((url === "https://discord.com/popout") || (url === "https://canary.discord.com/popout") || (url === "https://ptb.discord.com/popout")) return {action: "allow"}; if (url.startsWith("https:") || url.startsWith("http:") || url.startsWith("mailto:")) { shell.openExternal(url); } else {