mirror of
https://github.com/sp-tarkov/patcher.git
synced 2025-02-13 06:50:46 -05:00
24 lines
664 B
C#
24 lines
664 B
C#
using PatchGenerator.Models;
|
|
using Splat;
|
|
|
|
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);
|
|
}
|
|
}
|
|
}
|