mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Quick Fix
This commit is contained in:
parent
16b33ba8fa
commit
d9381afaa2
1 changed files with 7 additions and 1 deletions
|
@ -28,7 +28,13 @@ contextBridge.exposeInMainWorld("VencordNative", VencordNative);
|
|||
// Discord
|
||||
if (location.protocol !== "data:") {
|
||||
// #region cssInsert
|
||||
const rendererCss = join(__dirname, IS_VESKTOP ? "vencordDesktopRenderer.css" : "renderer.css" || IS_EQUIBOP ? "vencordDesktopRenderer.css" : "renderer.css");
|
||||
let rendererPath;
|
||||
if (IS_VESKTOP || IS_EQUIBOP) {
|
||||
rendererPath = "vencordDesktopRenderer.css";
|
||||
} else {
|
||||
rendererPath = "renderer.css";
|
||||
}
|
||||
const rendererCss = join(__dirname, rendererPath);
|
||||
|
||||
const style = document.createElement("style");
|
||||
style.id = "vencord-css-core";
|
||||
|
|
Loading…
Reference in a new issue