Add Real-Debrid web-login as alternative to manual API token

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Sucukdeluxe
2026-03-06 05:42:34 +01:00
co-authored by Claude Opus 4.6
parent e4a60a033b
commit 2b322968d9
14 changed files with 517 additions and 6 deletions
+1
View File
@@ -34,6 +34,7 @@ export const IPC_CHANNELS = {
IMPORT_BACKUP: "app:import-backup",
OPEN_LOG: "app:open-log",
OPEN_SESSION_LOG: "app:open-session-log",
OPEN_REALDEBRID_LOGIN: "app:open-realdebrid-login",
OPEN_ALLDEBRID_LOGIN: "app:open-alldebrid-login",
GET_ALLDEBRID_HOST_INFO: "app:get-alldebrid-host-info",
RETRY_EXTRACTION: "queue:retry-extraction",
+1
View File
@@ -47,6 +47,7 @@ export interface ElectronApi {
importBackup: () => Promise<{ restored: boolean; message: string }>;
openLog: () => Promise<void>;
openSessionLog: () => Promise<void>;
openRealDebridLogin: () => Promise<void>;
openAllDebridLogin: () => Promise<void>;
getAllDebridHostInfo: () => Promise<AllDebridHostInfo>;
retryExtraction: (packageId: string) => Promise<void>;
+1
View File
@@ -38,6 +38,7 @@ export interface DownloadStats {
export interface AppSettings {
token: string;
realDebridUseWebLogin: boolean;
megaLogin: string;
megaPassword: string;
bestToken: string;