mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-10 23:23:04 -04:00
Add additional build flavours for Vencord Desktop (#765)
This commit is contained in:
parent
5bb08bdb64
commit
6b26c12bfa
25 changed files with 264 additions and 127 deletions
|
@ -54,7 +54,9 @@ if (location.protocol !== "data:") {
|
|||
document.getElementById("vencord-css-core")!.textContent = readFileSync(rendererCss, "utf-8");
|
||||
});
|
||||
}
|
||||
require(process.env.DISCORD_PRELOAD!);
|
||||
|
||||
if (process.env.DISCORD_PRELOAD)
|
||||
require(process.env.DISCORD_PRELOAD);
|
||||
} else {
|
||||
// Monaco Popout
|
||||
contextBridge.exposeInMainWorld("setCss", debounce(s => VencordNative.ipc.invoke(IpcEvents.SET_QUICK_CSS, s)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue