mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-22 02:13:59 +00:00
chore: merge with main
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user