mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding libtorrent again
This commit is contained in:
parent
ccd1d18981
commit
e44049ff63
3 changed files with 11 additions and 85 deletions
|
|
@ -9,9 +9,8 @@ import {
|
|||
} from "typeorm";
|
||||
import { Repack } from "./repack.entity";
|
||||
|
||||
import type { GameShop } from "@types";
|
||||
import type { GameShop, GameStatus } from "@types";
|
||||
import { Downloader } from "@shared";
|
||||
import type { Aria2Status } from "aria2";
|
||||
import type { DownloadQueue } from "./download-queue.entity";
|
||||
|
||||
@Entity("game")
|
||||
|
|
@ -47,7 +46,7 @@ export class Game {
|
|||
shop: GameShop;
|
||||
|
||||
@Column("text", { nullable: true })
|
||||
status: Aria2Status | null;
|
||||
status: GameStatus | null;
|
||||
|
||||
@Column("int", { default: Downloader.Torrent })
|
||||
downloader: Downloader;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue