Merge branch 'main' into feat/launch-options

This commit is contained in:
Zamitto 2024-12-28 12:50:38 -03:00 committed by GitHub
commit d8e7fca224
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 318 additions and 196 deletions

View file

@ -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",