mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-19 06:43:51 +02:00
Repo cleanup (#879)
* Move build scipts * Move library DLLs * Remove DotSettings * Update gitignore * Remove Properties * Clean up csproj * Move warning suppression into code * Remove App.config --------- Co-authored-by: DubyaDude <ushafiq141@gmail.com>
This commit is contained in:
@@ -107,7 +107,9 @@ namespace VRCX
|
||||
// old asset bundle cacher downloader method reused for updating, it's not pretty
|
||||
public void DownloadFile(string fileUrl, string hashUrl, int size)
|
||||
{
|
||||
#pragma warning disable SYSLIB0014 // Type or member is obsolete
|
||||
client = new WebClient();
|
||||
#pragma warning restore SYSLIB0014 // Type or member is obsolete
|
||||
client.Headers.Add("user-agent", Program.Version);
|
||||
DownloadProgress = 0;
|
||||
DownloadSize = size;
|
||||
|
||||
@@ -298,7 +298,9 @@ namespace VRCX
|
||||
{
|
||||
try
|
||||
{
|
||||
#pragma warning disable SYSLIB0014 // Type or member is obsolete
|
||||
var request = WebRequest.CreateHttp((string)options["url"]);
|
||||
#pragma warning restore SYSLIB0014 // Type or member is obsolete
|
||||
if (ProxySet)
|
||||
request.Proxy = Proxy;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user