aboutsummaryrefslogtreecommitdiff
path: root/src/main/updater
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-05-02 02:50:51 +0200
committerGitHub <noreply@github.com>2023-05-02 02:50:51 +0200
commitc62d05e1b32361425474928004a92338d98ba200 (patch)
tree63e2d718807055dbdbbe7d2624270d8aa138fa2d /src/main/updater
parent6a1cb133cd6cbe2946e4c830291318e873da1d8b (diff)
downloadVencord-c62d05e1b32361425474928004a92338d98ba200.tar.gz
Vencord-c62d05e1b32361425474928004a92338d98ba200.tar.bz2
Vencord-c62d05e1b32361425474928004a92338d98ba200.zip
Refactor ipc to be strongly typed and hide impl details (#1018)
Diffstat (limited to 'src/main/updater')
-rw-r--r--src/main/updater/git.ts2
-rw-r--r--src/main/updater/http.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/updater/git.ts b/src/main/updater/git.ts
index d6a29a8..c6e5cc9 100644
--- a/src/main/updater/git.ts
+++ b/src/main/updater/git.ts
@@ -16,7 +16,7 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
-import IpcEvents from "@utils/IpcEvents";
+import { IpcEvents } from "@utils/IpcEvents";
import { execFile as cpExecFile } from "child_process";
import { ipcMain } from "electron";
import { join } from "path";
diff --git a/src/main/updater/http.ts b/src/main/updater/http.ts
index e2a3520..5653d01 100644
--- a/src/main/updater/http.ts
+++ b/src/main/updater/http.ts
@@ -17,7 +17,7 @@
*/
import { VENCORD_USER_AGENT } from "@utils/constants";
-import IpcEvents from "@utils/IpcEvents";
+import { IpcEvents } from "@utils/IpcEvents";
import { ipcMain } from "electron";
import { writeFile } from "fs/promises";
import { join } from "path";