diff options
author | Ven <vendicated@riseup.net> | 2022-12-25 20:47:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-25 20:47:35 +0100 |
commit | 2e5d27b6b63097e96e25819df7a8cdd667c521b3 (patch) | |
tree | 082b0f1c7cb0210d208c7cb8017e9da97b3b4196 /src/utils | |
parent | 2172cae779fb24f9bcc8c54a0b6538da0b52bafd (diff) | |
download | Vencord-2e5d27b6b63097e96e25819df7a8cdd667c521b3.tar.gz Vencord-2e5d27b6b63097e96e25819df7a8cdd667c521b3.tar.bz2 Vencord-2e5d27b6b63097e96e25819df7a8cdd667c521b3.zip |
feat: Proper CSS api & css bundle (#269)
Co-authored-by: Vap0r1ze <superdash993@gmail.com>
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/IpcEvents.ts | 3 | ||||
-rw-r--r-- | src/utils/updater.ts | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/IpcEvents.ts b/src/utils/IpcEvents.ts index c6696f8..345146b 100644 --- a/src/utils/IpcEvents.ts +++ b/src/utils/IpcEvents.ts @@ -44,5 +44,6 @@ export default strEnum({ UPDATE: "VencordUpdate", BUILD: "VencordBuild", GET_DESKTOP_CAPTURE_SOURCES: "VencordGetDesktopCaptureSources", - OPEN_MONACO_EDITOR: "VencordOpenMonacoEditor" + OPEN_MONACO_EDITOR: "VencordOpenMonacoEditor", + DOWNLOAD_VENCORD_CSS: "VencordDownloadVencordCss" } as const); diff --git a/src/utils/updater.ts b/src/utils/updater.ts index 2ea4953..04205a5 100644 --- a/src/utils/updater.ts +++ b/src/utils/updater.ts @@ -61,7 +61,7 @@ export function getRepo() { return Unwrap(VencordNative.ipc.invoke<IpcRes<string>>(IpcEvents.GET_REPO)); } -type Hashes = Record<"patcher.js" | "preload.js" | "renderer.js", string>; +type Hashes = Record<"patcher.js" | "preload.js" | "renderer.js" | "renderer.css", string>; /** * @returns true if hard restart is required |