0
0
mirror of https://github.com/sp-tarkov/patcher.git synced 2025-02-13 09:52:45 -05:00

24 lines
664 B
C#
Raw Normal View History

using PatchGenerator.Models;
using Splat;
2021-12-22 23:15:14 -05:00
namespace PatchGenerator.ViewModels
{
public class OptionsViewModel : ViewModelBase
{
public PatchGenInfo GenerationInfo { get; set; } = new PatchGenInfo();
private ViewNavigator navigator => Locator.Current.GetService<ViewNavigator>();
public OptionsViewModel()
{
GenerationInfo.SourceFolderPath = "Drop SOURCE folder here";
GenerationInfo.TargetFolderPath = "Drop TARGET folder here";
}
public void GeneratePatches()
{
navigator.SelectedViewModel = new PatchGenerationViewModel(GenerationInfo);
}
2021-12-22 23:15:14 -05:00
}
}