Add per-package detailed logs

This commit is contained in:
Sucukdeluxe
2026-03-08 01:41:23 +01:00
parent ecfaf52ce9
commit 9eb28cee2e
12 changed files with 742 additions and 23 deletions
+8
View File
@@ -500,6 +500,14 @@ function registerIpcHandlers(): void {
}
});
ipcMain.handle(IPC_CHANNELS.OPEN_PACKAGE_LOG, async (_event: IpcMainInvokeEvent, packageId: string) => {
validateString(packageId, "packageId");
const logPath = controller.getPackageLogPath(packageId);
if (logPath) {
await shell.openPath(logPath);
}
});
ipcMain.handle(IPC_CHANNELS.OPEN_REALDEBRID_LOGIN, async () => {
await controller.openRealDebridLoginWindow();
});