VRCX self updater 1

This commit is contained in:
Natsumi
2021-08-03 23:48:41 +12:00
parent f0c8e27e40
commit 8ab59cde4c
4 changed files with 33 additions and 70 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ namespace VRCX
if (IsUpdate)
{
AssetBundleCacher.IsUpdate = true;
DownloadTempLocation = Path.Combine(Program.BaseDirectory, "update.zip");
DownloadTempLocation = Path.Combine(Program.AppDataDirectory, "update.exe");
}
client = new WebClient();
client.Headers.Add("user-agent", AppVersion);