From 2a674ed988b560c0c5a25e5636a9ddf0475b511c Mon Sep 17 00:00:00 2001 From: lilezek Date: Sat, 4 May 2024 19:20:46 +0200 Subject: [PATCH] fix: typo on downloaders folder --- src/main/events/torrenting/cancel-game-download.ts | 2 +- src/main/events/torrenting/pause-game-download.ts | 2 +- src/main/events/torrenting/resume-game-download.ts | 2 +- src/main/events/torrenting/start-game-download.ts | 2 +- src/main/main.ts | 4 ++-- src/main/services/{donwloaders => downloaders}/downloader.ts | 0 .../services/{donwloaders => downloaders}/http-downloader.ts | 0 .../{donwloaders => downloaders}/real-debrid-types.ts | 0 src/main/services/{donwloaders => downloaders}/real-debrid.ts | 0 .../services/{donwloaders => downloaders}/torrent-client.ts | 0 src/main/services/index.ts | 2 +- 11 files changed, 7 insertions(+), 7 deletions(-) rename src/main/services/{donwloaders => downloaders}/downloader.ts (100%) rename src/main/services/{donwloaders => downloaders}/http-downloader.ts (100%) rename src/main/services/{donwloaders => downloaders}/real-debrid-types.ts (100%) rename src/main/services/{donwloaders => downloaders}/real-debrid.ts (100%) rename src/main/services/{donwloaders => downloaders}/torrent-client.ts (100%) diff --git a/src/main/events/torrenting/cancel-game-download.ts b/src/main/events/torrenting/cancel-game-download.ts index 39772e21..73ae0bb6 100644 --- a/src/main/events/torrenting/cancel-game-download.ts +++ b/src/main/events/torrenting/cancel-game-download.ts @@ -4,7 +4,7 @@ import { registerEvent } from "../register-event"; import { WindowManager } from "@main/services"; import { In } from "typeorm"; -import { Downloader } from "@main/services/donwloaders/downloader"; +import { Downloader } from "@main/services/downloaders/downloader"; import { GameStatus } from "@globals"; const cancelGameDownload = async ( diff --git a/src/main/events/torrenting/pause-game-download.ts b/src/main/events/torrenting/pause-game-download.ts index 263ec9be..3d486562 100644 --- a/src/main/events/torrenting/pause-game-download.ts +++ b/src/main/events/torrenting/pause-game-download.ts @@ -3,7 +3,7 @@ import { WindowManager } from "@main/services"; import { registerEvent } from "../register-event"; import { gameRepository } from "../../repository"; import { In } from "typeorm"; -import { Downloader } from "@main/services/donwloaders/downloader"; +import { Downloader } from "@main/services/downloaders/downloader"; import { GameStatus } from "@globals"; const pauseGameDownload = async ( diff --git a/src/main/events/torrenting/resume-game-download.ts b/src/main/events/torrenting/resume-game-download.ts index a394c84a..03f56a13 100644 --- a/src/main/events/torrenting/resume-game-download.ts +++ b/src/main/events/torrenting/resume-game-download.ts @@ -2,7 +2,7 @@ import { registerEvent } from "../register-event"; import { gameRepository } from "../../repository"; import { getDownloadsPath } from "../helpers/get-downloads-path"; import { In } from "typeorm"; -import { Downloader } from "@main/services/donwloaders/downloader"; +import { Downloader } from "@main/services/downloaders/downloader"; import { GameStatus } from "@globals"; const resumeGameDownload = async ( diff --git a/src/main/events/torrenting/start-game-download.ts b/src/main/events/torrenting/start-game-download.ts index 8ae520d5..dec41b8e 100644 --- a/src/main/events/torrenting/start-game-download.ts +++ b/src/main/events/torrenting/start-game-download.ts @@ -6,7 +6,7 @@ import { registerEvent } from "../register-event"; import type { GameShop } from "@types"; import { getImageBase64 } from "@main/helpers"; import { In } from "typeorm"; -import { Downloader } from "@main/services/donwloaders/downloader"; +import { Downloader } from "@main/services/downloaders/downloader"; import { GameStatus } from "@globals"; const startGameDownload = async ( diff --git a/src/main/main.ts b/src/main/main.ts index 9a09db3d..80f975eb 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -17,12 +17,12 @@ import { steamGameRepository, userPreferencesRepository, } from "./repository"; -import { TorrentClient } from "./services/donwloaders/torrent-client"; +import { TorrentClient } from "./services/downloaders/torrent-client"; import { Repack } from "./entity"; import { Notification } from "electron"; import { t } from "i18next"; import { In } from "typeorm"; -import { Downloader } from "./services/donwloaders/downloader"; +import { Downloader } from "./services/downloaders/downloader"; import { GameStatus } from "@globals"; startProcessWatcher(); diff --git a/src/main/services/donwloaders/downloader.ts b/src/main/services/downloaders/downloader.ts similarity index 100% rename from src/main/services/donwloaders/downloader.ts rename to src/main/services/downloaders/downloader.ts diff --git a/src/main/services/donwloaders/http-downloader.ts b/src/main/services/downloaders/http-downloader.ts similarity index 100% rename from src/main/services/donwloaders/http-downloader.ts rename to src/main/services/downloaders/http-downloader.ts diff --git a/src/main/services/donwloaders/real-debrid-types.ts b/src/main/services/downloaders/real-debrid-types.ts similarity index 100% rename from src/main/services/donwloaders/real-debrid-types.ts rename to src/main/services/downloaders/real-debrid-types.ts diff --git a/src/main/services/donwloaders/real-debrid.ts b/src/main/services/downloaders/real-debrid.ts similarity index 100% rename from src/main/services/donwloaders/real-debrid.ts rename to src/main/services/downloaders/real-debrid.ts diff --git a/src/main/services/donwloaders/torrent-client.ts b/src/main/services/downloaders/torrent-client.ts similarity index 100% rename from src/main/services/donwloaders/torrent-client.ts rename to src/main/services/downloaders/torrent-client.ts diff --git a/src/main/services/index.ts b/src/main/services/index.ts index 215cd016..7db479a0 100644 --- a/src/main/services/index.ts +++ b/src/main/services/index.ts @@ -6,6 +6,6 @@ export * from "./steam-grid"; export * from "./update-resolver"; export * from "./window-manager"; export * from "./fifo"; -export * from "./donwloaders/torrent-client"; +export * from "./downloaders/torrent-client"; export * from "./how-long-to-beat"; export * from "./process-watcher";