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");