示例#1
0
 public static void SavePath(string path) => AuroraConfig.Save(new Config()
 {
     DeviceAuth = AuroraConfig.Get()?.DeviceAuth,
     Path       = path
 });
示例#2
0
 public static void Create() => AuroraConfig.Save(new Config()
 {
     DeviceAuth = (DeviceAuth)null,
     Path       = EpicLauncher.GetInstallLocations().FirstOrDefault <Installation>((Func <Installation, bool>)(x => x.AppName == "Fortnite"))?.InstallLocation
 });
示例#3
0
 public static void SaveDeviceAuth(DeviceAuth deviceAuth) => AuroraConfig.Save(new Config()
 {
     DeviceAuth = deviceAuth,
     Path       = AuroraConfig.Get()?.Path
 });