🔧 设置下载目录
This commit is contained in:
@@ -259,6 +259,7 @@ impl DownloadManager {
|
||||
"--rpc-listen-all=false",
|
||||
&format!("--rpc-listen-port={}", port),
|
||||
&format!("--user-agent={}", UA),
|
||||
"--dir=/tmp/spark-store", // 设置下载目录为 /tmp/spark-store
|
||||
])
|
||||
.spawn()
|
||||
.map_err(|e| format!("启动 aria2 失败: {}", e)).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user