feat: adding auto refresh of download sources

This commit is contained in:
Chubby Granny Chaser 2024-06-03 21:39:37 +01:00
parent 3da751a67b
commit 0ea2cd39db
No known key found for this signature in database
19 changed files with 241 additions and 93 deletions

View file

@ -1,5 +1,5 @@
import type { Aria2Status } from "aria2";
import type { Downloader } from "@shared";
import type { DownloadSourceStatus, Downloader } from "@shared";
import { ProgressInfo, UpdateInfo } from "electron-updater";
export type GameShop = "steam" | "epic";
@ -240,6 +240,8 @@ export interface DownloadSource {
name: string;
url: string;
repackCount: number;
status: DownloadSourceStatus;
etag: string | null;
createdAt: Date;
updatedAt: Date;
}