From fcdcd84462c0385a07ba7a0f68a4f31a6e3af920 Mon Sep 17 00:00:00 2001 From: Pluto Date: Mon, 29 Aug 2022 08:32:02 +0000 Subject: [PATCH] =?UTF-8?q?!101=20feat:=20=E7=BB=9F=E8=AE=A1=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E9=87=8F=20*=20feat:=20=E7=BB=9F=E8=AE=A1=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD=E9=87=8F=20*=20Merge=20remote-tracking=20branch=20'up?= =?UTF-8?q?stream/master'=20into=20dev=20*=20feat:=20sender-d=20*=20Merge?= =?UTF-8?q?=20remote-tracking=20branch=20'upstream/master'=20into=20dev=20?= =?UTF-8?q?*=20Merge=20remote-tracking=20branch=20'upstream/master'=20into?= =?UTF-8?q?=20dev=20*=20fix:=20enhance=20download=20speed=20*=20feat:=20?= =?UTF-8?q?=E4=BB=8E=E6=89=80=E6=9C=89=E9=95=9C=E5=83=8F=E6=BA=90=E4=B8=AD?= =?UTF-8?q?=E9=80=89=E5=8F=96=E6=9C=80=E5=BF=AB=E9=95=9C=E5=83=8F=E6=BA=90?= =?UTF-8?q?=E9=AB=98=E9=80=9F=E4=B8=8B=E8=BD=BD=20*=20Merge=20remote-track?= =?UTF-8?q?ing=20branch=20'upstream/master'=20into=20dev=20*=20fix:=20?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E4=BD=BF=E7=94=A8http=E5=A4=B4=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E6=96=87=E4=BB=B6=E5=A4=A7=E5=B0=8F=20*=20Merge=20rem?= =?UTF-8?q?ote-tracking=20branch=20'upstream/master'=20into=20dev=20*=20fe?= =?UTF-8?q?ature:=20metalink=20backhend=20*=20Merge=20remote-tracking=20br?= =?UTF-8?q?anch=20'upstream/master'=20into=20dev=20*=20Merge=20remote-trac?= =?UTF-8?q?king=20branch=20'upstream/master'=20into=20dev=20*=20fix:=20?= =?UTF-8?q?=E5=BF=BD=E7=95=A5=E7=B3=BB=E7=BB=9F=E5=8E=9F=E6=9C=89aria2?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=20*=20fix:=20waitforfinish?= =?UTF-8?q?ed?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debian/changelog | 8 ++++---- src/downloadworker.cpp | 9 +++++++++ tool/ss-feedback/README.md | 2 ++ 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 tool/ss-feedback/README.md diff --git a/debian/changelog b/debian/changelog index 0b68365..54ab678 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,19 +1,19 @@ spark-store (3.2) stable; urgency=medium -* 新增下载量统计功能 + * 新增下载量统计功能 -- shenmo Fri, 30 Jan 2022 00:00:00 +0800 spark-store (3.1.6) stable; urgency=medium -* 修复部分情况下无法选中正确的镜像源的问题 -* 合入3.1.5以来的各项修改 + * 修复部分情况下无法选中正确的镜像源的问题 + * 合入3.1.5以来的各项修改 -- shenmo Fri, 30 Jan 2022 00:00:00 +0800 spark-store (3.1.5-5) stable; urgency=medium -* 从所有镜像源中选取最快镜像源高速下载 + * 从所有镜像源中选取最快镜像源高速下载 -- shenmo Fri, 30 Jan 2022 00:00:00 +0800 diff --git a/src/downloadworker.cpp b/src/downloadworker.cpp index 334c4dd..a2069aa 100644 --- a/src/downloadworker.cpp +++ b/src/downloadworker.cpp @@ -198,6 +198,15 @@ void DownloadController::startDownload(const QString &url) { continue; } + + // 统计下载量 + QString SenderdPath = "/opt/durapps/spark-store/bin/ss-feedback/sender-d"; + /* + * https://en.wikipedia.org/wiki/HD_70642 + * HD 70642 is a star with an exoplanetary companion in the southern constellation of Puppis. + */ + system(SenderdPath.toUtf8() + " " + metaUrl.toUtf8() + " " + "HD70642"); + emit downloadFinished(); }); } diff --git a/tool/ss-feedback/README.md b/tool/ss-feedback/README.md new file mode 100644 index 0000000..efcc7f2 --- /dev/null +++ b/tool/ss-feedback/README.md @@ -0,0 +1,2 @@ +# Feadback 反馈脚本 +使用 shc 加密, 需要使用 cc、gcc 编译。