mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: game card animation
This commit is contained in:
parent
83e662f633
commit
f5d5aa39dc
3 changed files with 210 additions and 166 deletions
|
@ -244,7 +244,7 @@ export class DownloadManager {
|
|||
private static async getDownloadPayload(game: Game) {
|
||||
switch (game.downloader) {
|
||||
case Downloader.Gofile: {
|
||||
const id = game!.uri!.split("/").pop();
|
||||
const id = game.uri!.split("/").pop();
|
||||
|
||||
const token = await GofileApi.authorize();
|
||||
const downloadLink = await GofileApi.getDownloadLink(id!);
|
||||
|
@ -258,7 +258,7 @@ export class DownloadManager {
|
|||
};
|
||||
}
|
||||
case Downloader.PixelDrain: {
|
||||
const id = game!.uri!.split("/").pop();
|
||||
const id = game.uri!.split("/").pop();
|
||||
|
||||
return {
|
||||
action: "start",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue