mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-24 05:54:55 +03:00
lint
This commit is contained in:
parent
bd8974c7cb
commit
92ec056ba8
@ -130,7 +130,7 @@ export class PythonInstance {
|
|||||||
action: "pause",
|
action: "pause",
|
||||||
game_id: this.downloadingGameId,
|
game_id: this.downloadingGameId,
|
||||||
} as PauseDownloadPayload)
|
} as PauseDownloadPayload)
|
||||||
.catch(() => { });
|
.catch(() => {});
|
||||||
|
|
||||||
this.downloadingGameId = -1;
|
this.downloadingGameId = -1;
|
||||||
}
|
}
|
||||||
@ -162,7 +162,7 @@ export class PythonInstance {
|
|||||||
action: "cancel",
|
action: "cancel",
|
||||||
game_id: gameId,
|
game_id: gameId,
|
||||||
} as CancelDownloadPayload)
|
} as CancelDownloadPayload)
|
||||||
.catch(() => { });
|
.catch(() => {});
|
||||||
|
|
||||||
this.downloadingGameId = -1;
|
this.downloadingGameId = -1;
|
||||||
}
|
}
|
||||||
@ -187,7 +187,7 @@ export class PythonInstance {
|
|||||||
magnet: game.uri,
|
magnet: game.uri,
|
||||||
save_path: game.downloadPath,
|
save_path: game.downloadPath,
|
||||||
} as StartDownloadPayload)
|
} as StartDownloadPayload)
|
||||||
.catch(() => { });
|
.catch(() => {});
|
||||||
}
|
}
|
||||||
|
|
||||||
private static async handleRpcError(_error: unknown) {
|
private static async handleRpcError(_error: unknown) {
|
||||||
|
@ -40,4 +40,3 @@ export interface ProcessPayload {
|
|||||||
export interface SeedPayload {
|
export interface SeedPayload {
|
||||||
should_seed: boolean;
|
should_seed: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user