Add Vencord Loading & tray icon
This commit is contained in:
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user