chore: merge with main

This commit is contained in:
Chubby Granny Chaser 2024-06-08 20:28:41 +01:00
commit 53f4394a49
No known key found for this signature in database
12 changed files with 128 additions and 73 deletions

View file

@ -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;