DrakiaXYZ dd59d796f7 Utilize R2 for release downloads
Implemented by pulling `release.json` from R2 to get a list of mirrors, and pulling the sptaki 7z file based on the mirror
The current R2 mirror is setup with a re-build of SPT 3.8.0 that Refringe is working on automating
2024-04-25 23:33:20 -07:00

46 lines
1.1 KiB
C#

using SPTInstaller.Models.Releases;
namespace SPTInstaller.Models;
public class InternalData
{
/// <summary>
/// The folder to install SPT into
/// </summary>
public string? TargetInstallPath { get; set; }
/// <summary>
/// The orginal EFT game path
/// </summary>
public string? OriginalGamePath { get; set; }
/// <summary>
/// The original EFT game version
/// </summary>
public string OriginalGameVersion { get; set; }
/// <summary>
/// Patcher zip file info
/// </summary>
public FileInfo PatcherZipInfo { get; set; }
/// <summary>
/// SPT-AKI zip file info
/// </summary>
public FileInfo AkiZipInfo { get; set; }
/// <summary>
/// The release information from release.json
/// </summary>
public ReleaseInfo ReleaseInfo { get; set; }
/// <summary>
/// The release download link for the patcher mirror list
/// </summary>
public string PatcherMirrorsLink { get; set; }
/// <summary>
/// Whether or not a patch is needed to downgrade the client files
/// </summary>
public bool PatchNeeded { get; set; }
}