2021-12-25 01:17:01 -05:00
|
|
|
|
using PatchGenerator.Models;
|
2021-12-28 19:44:25 -05:00
|
|
|
|
using ReactiveUI;
|
2021-12-22 23:15:14 -05:00
|
|
|
|
|
|
|
|
|
namespace PatchGenerator.ViewModels
|
|
|
|
|
{
|
|
|
|
|
public class OptionsViewModel : ViewModelBase
|
|
|
|
|
{
|
2021-12-25 01:17:01 -05:00
|
|
|
|
public PatchGenInfo GenerationInfo { get; set; } = new PatchGenInfo();
|
|
|
|
|
|
2021-12-28 19:44:25 -05:00
|
|
|
|
public OptionsViewModel(IScreen Host) : base(Host)
|
2021-12-25 01:17:01 -05:00
|
|
|
|
{
|
|
|
|
|
GenerationInfo.SourceFolderPath = "Drop SOURCE folder here";
|
|
|
|
|
GenerationInfo.TargetFolderPath = "Drop TARGET folder here";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void GeneratePatches()
|
|
|
|
|
{
|
2021-12-28 19:44:25 -05:00
|
|
|
|
NavigateTo(new PatchGenerationViewModel(HostScreen, GenerationInfo));
|
2021-12-25 01:17:01 -05:00
|
|
|
|
}
|
2021-12-22 23:15:14 -05:00
|
|
|
|
}
|
|
|
|
|
}
|