fix: validade-path import

This commit is contained in:
Fhilipe Coelho
2024-04-11 12:49:52 -03:00
parent 78f46c8cf4
commit 729f3995fa
3 changed files with 5 additions and 237 deletions

View File

@@ -8,7 +8,7 @@ import type { GameShop } from "@types";
import { getDownloadsPath } from "../helpers/get-downloads-path";
import { getImageBase64 } from "@main/helpers";
import { In } from "typeorm";
import validatePath from "./helpers/validate-path";
import validatePath from "../helpers/validate-path";
import { dialog } from "electron";
import { t } from "i18next";

View File

@@ -1,9 +1,9 @@
import { userPreferencesRepository } from "@main/repository";
import { registerEvent } from "./register-event";
import { registerEvent } from "../register-event";
import { dialog } from "electron";
import { t } from "i18next";
import type { UserPreferences } from "@types";
import validatePath from "./helpers/validate-path";
import validatePath from "../helpers/validate-path";
const updateUserPreferences = async (
_event: Electron.IpcMainInvokeEvent,