Exemplo n.º 1
0
 public static void SavePath(string path) => AuroraConfig.Save(new Config()
 {
     DeviceAuth = AuroraConfig.Get()?.DeviceAuth,
     Path       = path
 });
Exemplo n.º 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
 });
Exemplo n.º 3
0
 public static void SaveDeviceAuth(DeviceAuth deviceAuth) => AuroraConfig.Save(new Config()
 {
     DeviceAuth = deviceAuth,
     Path       = AuroraConfig.Get()?.Path
 });