mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-02 16:23:48 +03:00
Revert "Create a downloader for the gamedrivers bypass"
This reverts commit 6da648b21c
.
This commit is contained in:
parent
857eb93117
commit
1ed13d8a91
@ -260,16 +260,6 @@ export class DownloadManager {
|
||||
case Downloader.PixelDrain: {
|
||||
const id = game.uri!.split("/").pop();
|
||||
|
||||
return {
|
||||
action: "start",
|
||||
game_id: game.id,
|
||||
url: `https://pixeldrain.com/api/file/${id}?download`,
|
||||
save_path: game.downloadPath!,
|
||||
};
|
||||
}
|
||||
case Downloader.GameDrive: {
|
||||
const id = game.uri!.split("/").pop();
|
||||
|
||||
return {
|
||||
action: "start",
|
||||
game_id: game.id,
|
||||
|
@ -9,7 +9,6 @@ export const DOWNLOADER_NAME = {
|
||||
[Downloader.PixelDrain]: "PixelDrain",
|
||||
[Downloader.Qiwi]: "Qiwi",
|
||||
[Downloader.Datanodes]: "Datanodes",
|
||||
[Downloader.GameDrive]: "GameDrive",
|
||||
};
|
||||
|
||||
export const MAX_MINUTES_TO_SHOW_IN_PLAYTIME = 120;
|
||||
|
@ -5,7 +5,6 @@ export enum Downloader {
|
||||
PixelDrain,
|
||||
Qiwi,
|
||||
Datanodes,
|
||||
GameDrive,
|
||||
}
|
||||
|
||||
export enum DownloadSourceStatus {
|
||||
|
@ -88,7 +88,6 @@ export const getDownloadersForUri = (uri: string) => {
|
||||
if (uri.startsWith("https://pixeldrain.com")) return [Downloader.PixelDrain];
|
||||
if (uri.startsWith("https://qiwi.gg")) return [Downloader.Qiwi];
|
||||
if (uri.startsWith("https://datanodes.to")) return [Downloader.Datanodes];
|
||||
if (uri.startsWith("https://pd.cybar.xyz")) return [Downloader.GameDrive];
|
||||
|
||||
if (realDebridHosts.some((host) => uri.startsWith(host)))
|
||||
return [Downloader.RealDebrid];
|
||||
|
Loading…
Reference in New Issue
Block a user