aboutsummaryrefslogtreecommitdiff
path: root/src/ipcMain/updater
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipcMain/updater')
-rw-r--r--src/ipcMain/updater/git.ts2
-rw-r--r--src/ipcMain/updater/http.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ipcMain/updater/git.ts b/src/ipcMain/updater/git.ts
index 7e4176a..07c94cb 100644
--- a/src/ipcMain/updater/git.ts
+++ b/src/ipcMain/updater/git.ts
@@ -16,12 +16,12 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+import IpcEvents from "@utils/IpcEvents";
import { execFile as cpExecFile } from "child_process";
import { ipcMain } from "electron";
import { join } from "path";
import { promisify } from "util";
-import IpcEvents from "../../utils/IpcEvents";
import { calculateHashes, serializeErrors } from "./common";
const VENCORD_SRC_DIR = join(__dirname, "..");
diff --git a/src/ipcMain/updater/http.ts b/src/ipcMain/updater/http.ts
index 523340f..902d644 100644
--- a/src/ipcMain/updater/http.ts
+++ b/src/ipcMain/updater/http.ts
@@ -16,6 +16,8 @@
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
+import { VENCORD_USER_AGENT } from "@utils/constants";
+import IpcEvents from "@utils/IpcEvents";
import { ipcMain } from "electron";
import { writeFile } from "fs/promises";
import { join } from "path";
@@ -23,8 +25,6 @@ import { join } from "path";
import gitHash from "~git-hash";
import gitRemote from "~git-remote";
-import { VENCORD_USER_AGENT } from "../../utils/constants";
-import IpcEvents from "../../utils/IpcEvents";
import { get } from "../simpleGet";
import { calculateHashes, serializeErrors } from "./common";