mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
fix: titlebar css path
This commit is contained in:
parent
aeafcffdd8
commit
7cd42a945c
1 changed files with 2 additions and 2 deletions
|
@ -21,8 +21,8 @@ export function injectTitlebar(): void {
|
|||
} else {
|
||||
document.getElementById("app-mount")!.prepend(elem);
|
||||
}
|
||||
const titlebarcssPath = path.join(import.meta.dirname, "../", "../", "/content/css/titlebar.css");
|
||||
const wordmarkcssPath = path.join(import.meta.dirname, "../", "../", "/content/css/logos.css");
|
||||
const titlebarcssPath = path.join(import.meta.dirname, "../", "/content/css/titlebar.css");
|
||||
const wordmarkcssPath = path.join(import.meta.dirname, "../", "/content/css/logos.css");
|
||||
addStyle(fs.readFileSync(titlebarcssPath, "utf8"));
|
||||
addStyle(fs.readFileSync(wordmarkcssPath, "utf8"));
|
||||
document.body.setAttribute("customTitlebar", "");
|
||||
|
|
Loading…
Reference in a new issue