DrakiaXYZ ac95894967 Switch the precheck to use the release.json method of version fetching
- Removes another hit to the Gitea API
- Renamed 'Models/Releases' to 'Models/ReleaseInfo' to avoid a .gitignore hit, this adds the missing files
- Moved the definition for the release.json URL to DownloadCacheHelper for now
2024-04-26 09:52:41 -07:00

46 lines
1.1 KiB
C#

using SPTInstaller.Models.ReleaseInfo;
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 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; }
}