aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/IpcEvents.ts3
-rw-r--r--src/utils/updater.ts2
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