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