Add Vencord Loading & tray icon

This commit is contained in:
Vendicated
2023-04-04 00:41:52 +02:00
parent 307051141d
commit f45d6482ac
12 changed files with 176 additions and 11 deletions

View File

@@ -0,0 +1,8 @@
import { ipcMain } from "electron";
import { join } from "path";
import { GET_PRELOAD_FILE } from "../shared/IpcEvents";
import { VENCORD_FILES_DIR } from "./constants";
ipcMain.on(GET_PRELOAD_FILE, e => {
e.returnValue = join(VENCORD_FILES_DIR, "preload.js");
});