The only downloader you need. 下载器的集大成者。
TypeScript asyncasynciobittorentbtcross-platformdownload-managerdownloaderfluent-designftphttp3magnetpyqtpyside6pythonqtquicreactsoftwarestreaming
fix(cli): 调整命令行工具卡片文案
XiaoYouChR4734ad2c8e01
diff --git a/app/view/pages/setting_page.py b/app/view/pages/setting_page.pyindex cbd71fe4..543a8e40 100644--- a/app/view/pages/setting_page.py+++ b/app/view/pages/setting_page.py@@ -329,7 +329,7 @@ class SettingPage(FastScrollArea):self.commandLineToolCard = PushSettingCard("", FluentIcon.COMMAND_PROMPT, self.tr("命令行工具"),- self.tr("在终端中通过 ghd 命令控制 Ghost Downloader,适用于脚本与 AI Agent"),+ self.tr("安装后可在终端中使用 ghd 命令添加和管理任务"),)self._refreshCommandLineToolCard()softwareCards = [@@ -526,8 +526,10 @@ class SettingPage(FastScrollArea):position=InfoBarPosition.BOTTOM_RIGHT, parent=self.window())def _onCommandLineToolFailed(self, error) -> None:+ from app.platform import cli_installself._refreshCommandLineToolCard()- InfoBar.error(self.tr("命令行工具操作失败"), toLocalizedError(toTaskError(error)),+ title = self.tr("卸载命令行工具失败") if cli_install.isInstalled() else self.tr("安装命令行工具失败")+ InfoBar.error(title, toLocalizedError(toTaskError(error)),duration=5000, position=InfoBarPosition.BOTTOM_RIGHT, parent=self.window())def _onMigrateClicked(self) -> None: