TRX/tools/installer/TRX_InstallerLib/Installers/IInstallSource.cs
lahm86 e16fcda94b tools/installer: create common installer library
This creates a generic common installer WPF library for both games.
2025-03-30 12:34:54 +01:00

29 lines
706 B
C#

using TRX_InstallerLib.Utils;
namespace TRX_InstallerLib.Installers;
public interface IInstallSource
{
public IEnumerable<string> DirectoriesToTry { get; }
public string ImageSource { get; }
public string SourceName { get; }
public string SuggestedInstallationDirectory { get; }
public Task CopyOriginalGameFiles(
string sourceDirectory,
string targetDirectory,
IProgress<InstallProgress> progress,
bool importSaves
);
bool IsDownloadingMusicNeeded(string sourceDirectory);
bool IsDownloadingExpansionNeeded(string sourceDirectory);
public bool IsGameFound(string sourceDirectory);
bool IsImportingSavesSupported { get; }
}