The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
fix(core): 修复桌面通知器初始化问题
XiaoYouChR75e34d2208db
diff --git a/app/services/core_service.py b/app/services/core_service.pyindex 0ceaad64..0f9b22b1 100644--- a/app/services/core_service.py+++ b/app/services/core_service.py@@ -31,7 +31,6 @@ class CoreService(QThread):self.waitingTasks: list[Task] = []self.runningTasks: dict[str, asyncio.Task] = {}self._pendingCallbacks: Dict[str, Callable[[dict, str | None], Coroutine | None]] = {}- self.desktopNotifier = DesktopNotifier(app_name="Ghost Downloader", app_icon=Icon(path=getNotifierIcon()))cfg.maxTaskNum.valueChanged.connect(lambda _: self._syncTaskLimitSoon())def sendNotification(self, task: Task):@@ -293,6 +292,7 @@ class CoreService(QThread):def run(self):"""启动线程和事件循环"""+ self.desktopNotifier = DesktopNotifier(app_name="Ghost Downloader", app_icon=Icon(path=getNotifierIcon())) # OSError: [WinError -2147417842] 应用程序调用一个已为另一线程整理的接口。try:self.loop.run_until_complete(self.mainLoop)except Exception as e: