From 033e5b797389a95643f3e7125c9d9e3e42882b85 Mon Sep 17 00:00:00 2001 From: smartfrigde <37928912+smartfrigde@users.noreply.github.com> Date: Tue, 5 Jul 2022 19:02:49 +0200 Subject: [PATCH] Forgot to remove debug thing --- src/preload/titlebar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preload/titlebar.ts b/src/preload/titlebar.ts index 7ce8b48..a3fe1bc 100644 --- a/src/preload/titlebar.ts +++ b/src/preload/titlebar.ts @@ -26,7 +26,7 @@ export function injectTitlebar() { addStyle(fs.readFileSync(titlebarcssPath, "utf8")); addStyle(fs.readFileSync(wordmarkcssPath, "utf8")); document.body.setAttribute("customTitlebar", ""); - document.body.setAttribute("armcord-platform", "win32"); + document.body.setAttribute("armcord-platform", os.platform()); var minimize = document.getElementById("minimize"); var maximize = document.getElementById("maximize");