mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
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
This commit is contained in:
parent
f540c88e0d
commit
66821e2dce
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue