fix: ensure ipcHandles are loaded before create window

This commit is contained in:
Zamitto 2025-01-02 17:12:35 -03:00
parent ce76bc5b6b
commit bf4c07241f
3 changed files with 3 additions and 2 deletions

View file

@ -13,7 +13,7 @@ import { Downloader } from "@shared";
import { IsNull, Not } from "typeorm";
const loadState = async (userPreferences: UserPreferences | null) => {
import("./events");
await import("./events");
Aria2.spawn();