|
@@ -38,15 +38,13 @@ namespace BanTur.Utility
|
|
|
{
|
|
|
if (Directory.Exists(downloadDirectory) == false) Directory.CreateDirectory(downloadDirectory);
|
|
|
|
|
|
-
|
|
|
-
|
|
|
var p = new Process
|
|
|
{
|
|
|
StartInfo =
|
|
|
{
|
|
|
FileName = "aria2c",
|
|
|
WorkingDirectory = downloadDirectory,
|
|
|
- Arguments = "--seed-time=30 --on-bt-download-complete=" + onBtDownloadComplete+" "+magnet ,
|
|
|
+ Arguments = "--seed-time=30 --follow-torrent=mem --on-bt-download-complete=" + onBtDownloadComplete+" "+magnet ,
|
|
|
UseShellExecute = true,
|
|
|
WindowStyle = ProcessWindowStyle.Minimized,
|
|
|
}
|