mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
chore: merge with main
This commit is contained in:
commit
53f4394a49
12 changed files with 128 additions and 73 deletions
|
@ -1,6 +1,6 @@
|
|||
import type { Aria2Status } from "aria2";
|
||||
import type { DownloadSourceStatus, Downloader } from "@shared";
|
||||
import { ProgressInfo, UpdateInfo } from "electron-updater";
|
||||
import { UpdateInfo } from "electron-updater";
|
||||
|
||||
export type GameShop = "steam" | "epic";
|
||||
|
||||
|
@ -154,13 +154,8 @@ export interface SteamGame {
|
|||
}
|
||||
|
||||
export type AppUpdaterEvent =
|
||||
| { 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" };
|
||||
| { type: "update-available"; info: { version: string } }
|
||||
| { type: "update-downloaded" };
|
||||
|
||||
/* Events */
|
||||
export interface StartGameDownloadPayload {
|
||||
|
@ -238,9 +233,6 @@ export interface RealDebridUser {
|
|||
premium: number;
|
||||
expiration: string;
|
||||
}
|
||||
export type AppUpdaterEvents =
|
||||
| { type: "update-available"; info: Partial<UpdateInfo> }
|
||||
| { type: "update-downloaded" };
|
||||
|
||||
export interface DownloadSource {
|
||||
id: number;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue