This commit is contained in:
@@ -1,7 +0,0 @@
|
|||||||
namespace MyCommandsLibrary
|
|
||||||
{
|
|
||||||
public class Class1
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@@ -1,12 +1,9 @@
|
|||||||
using PluginManager.Items;
|
using PluginManager.Online.Helpers;
|
||||||
using PluginManager.Online.Helpers;
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Net;
|
|
||||||
using System.Text;
|
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace PluginManager.Online
|
namespace PluginManager.Online
|
||||||
@@ -58,7 +55,7 @@ namespace PluginManager.Online
|
|||||||
int c_progress = 0;
|
int c_progress = 0;
|
||||||
|
|
||||||
//long m_dwBytes = 0;
|
//long m_dwBytes = 0;
|
||||||
|
|
||||||
Others.Console_Utilities.ProgressBar pbar = new Others.Console_Utilities.ProgressBar(100, "");
|
Others.Console_Utilities.ProgressBar pbar = new Others.Console_Utilities.ProgressBar(100, "");
|
||||||
|
|
||||||
IProgress<float> progress = new Progress<float>(percent =>
|
IProgress<float> progress = new Progress<float>(percent =>
|
||||||
@@ -81,7 +78,7 @@ namespace PluginManager.Online
|
|||||||
System.Threading.Thread.Sleep(500);
|
System.Threading.Thread.Sleep(500);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
new System.Threading.Thread(updateProgressBarTask.Start).Start();
|
new System.Threading.Thread(updateProgressBarTask.Start).Start();
|
||||||
await DownloadFileAsync(URL, location, progress, progress_downloaded);
|
await DownloadFileAsync(URL, location, progress, progress_downloaded);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user