mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-13 03:43:50 +02:00
Version file 1
This commit is contained in:
@@ -9,7 +9,7 @@ namespace VRCX
|
||||
{
|
||||
private static readonly string cacheLocation = Path.Combine(Program.AppDataDirectory, "ImageCache");
|
||||
|
||||
public static string GetImage(string url, string fileId, string version, string appVersion)
|
||||
public static string GetImage(string url, string fileId, string version)
|
||||
{
|
||||
var imageHost = "api.vrchat.cloud";
|
||||
var imageHost1 = "files.vrchat.cloud";
|
||||
@@ -42,7 +42,7 @@ namespace VRCX
|
||||
}
|
||||
|
||||
client.Headers.Add(HttpRequestHeader.Cookie, cookieString);
|
||||
client.Headers.Add("user-agent", appVersion);
|
||||
client.Headers.Add("user-agent", Program.Version);
|
||||
client.DownloadFile(url, fileLocation);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user