mirror of
https://github.com/HolographicHat/Yae.git
synced 2026-03-30 00:09:50 +08:00
Implement export: paimon and csv
This commit is contained in:
@@ -1,19 +1,25 @@
|
||||
using System.Net;
|
||||
using System.Net.Http.Headers;
|
||||
using Google.Protobuf;
|
||||
using YaeAchievement;
|
||||
using static YaeAchievement.Utils;
|
||||
|
||||
Console.WriteLine("----------------------------------------------------");
|
||||
Console.WriteLine("YaeAchievement - 原神成就导出工具");
|
||||
Console.WriteLine("https://github.com/HolographicHat/YaeAchievement");
|
||||
Console.WriteLine("----------------------------------------------------");
|
||||
/*InstallExitHook();
|
||||
InstallExceptionHook();
|
||||
CheckGenshinIsRunning();
|
||||
LoadConfig();*/
|
||||
var ch = GetBucketFileAsString("latest.json");
|
||||
LoadConfig();
|
||||
CheckUpdate();*/
|
||||
TryDisableQuickEdit();
|
||||
//Console.WriteLine(c.Send(msg).StatusCode);
|
||||
return;
|
||||
//using var o = File.OpenWrite("ai");
|
||||
//AchievementInfo.Parser.ParseJson(File.ReadAllText(@"C:\Users\holog\Desktop\cc.json")).WriteTo(o);
|
||||
StartAndWaitResult(@"D:\Genshin Impact Dev\2.8\YuanShen.exe", str => {
|
||||
GlobalVars.UnexpectedExit = false;
|
||||
//AchievementAllDataNotify.Parser.ParseFrom(Convert.FromBase64String(str)).List;
|
||||
//var notify = Serializer.Deserialize<AchievementAllDataNotify>(stream)!;
|
||||
//notify.list;
|
||||
return false;
|
||||
var list = AchievementAllDataNotify.Parser.ParseFrom(Convert.FromBase64String(str));
|
||||
Export.Choose(list);
|
||||
return true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user