http client with cache

This commit is contained in:
HolographicHat
2022-06-13 22:22:40 +08:00
parent bbe7c2cd03
commit 1dcaf7ed8f
6 changed files with 432 additions and 4 deletions

View File

@@ -1,10 +1,14 @@
using YaeAchievement;
using System.Net;
using System.Net.Http.Headers;
using YaeAchievement;
using static YaeAchievement.Utils;
InstallExitHook();
/*InstallExitHook();
InstallExceptionHook();
CheckGenshinIsRunning();
LoadConfig();
LoadConfig();*/
var ch = GetBucketFileAsString("latest.json");
//Console.WriteLine(c.Send(msg).StatusCode);
return;
StartAndWaitResult(@"D:\Genshin Impact Dev\2.8\YuanShen.exe", str => {
GlobalVars.UnexpectedExit = false;