mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: adding download method toggle
This commit is contained in:
commit
a240c3ae24
33 changed files with 564 additions and 45 deletions
|
@ -1,5 +1,6 @@
|
|||
import type { Downloader } from "@shared";
|
||||
import type { Aria2Status } from "aria2";
|
||||
import type { Downloader } from "@shared";
|
||||
import { ProgressInfo, UpdateInfo } from "electron-updater";
|
||||
|
||||
export type GameShop = "steam" | "epic";
|
||||
export type CatalogueCategory = "recently_added" | "trending";
|
||||
|
@ -146,3 +147,12 @@ export interface SteamGame {
|
|||
name: string;
|
||||
clientIcon: string | null;
|
||||
}
|
||||
|
||||
export type AppUpdaterEvents =
|
||||
| { type: "error" }
|
||||
| { type: "checking-for-updates" }
|
||||
| { type: "update-not-available" }
|
||||
| { type: "update-available"; info: UpdateInfo }
|
||||
| { type: "update-downloaded" }
|
||||
| { type: "download-progress"; info: ProgressInfo }
|
||||
| { type: "update-cancelled" };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue