替换BT下载器

This commit is contained in:
Yutousama 2022-10-09 00:03:34 +08:00
parent f46c09c6ed
commit f0d61ffbb6
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class QQBotApplication {
public static final String version="QQBot v.1.3.5.1";
public static final String version="QQBot v.1.3.5.2";
public static void main(String[] args) {
System.out.println("version = " + version);
SpringApplication.run(QQBotApplication.class, args);

View File

@ -32,7 +32,7 @@ public class BTDownload extends Model {
if(msg.startsWith("magnet:?xt=")){
String builder = "已添加下载磁链" ;
QQBotManager.getInstance().sendMessage(qq, builder);
String exec = String.format("transmission-remote -n yutou:34864394 -w %sdownload_tmp/%s -a \"%s\" "
String exec = String.format("qbittorrent-nox --save-path=%sdownload_tmp/%s \"%s\" "
,DownloadHomePath
, AppTools.getToDayTime()
, msg