diff --git a/Patcher/PatchClient/ViewModels/PatcherViewModel.cs b/Patcher/PatchClient/ViewModels/PatcherViewModel.cs index 8e5faef..4ff6fa7 100644 --- a/Patcher/PatchClient/ViewModels/PatcherViewModel.cs +++ b/Patcher/PatchClient/ViewModels/PatcherViewModel.cs @@ -44,6 +44,14 @@ namespace PatchClient.ViewModels { this.WhenActivated((CompositeDisposable disposables) => { + //check if escapefromtarkov.exe is present + if(!File.Exists(Path.Join(Directory.GetCurrentDirectory(), "escapefromtarkov.exe"))) + { + NavigateTo(new MessageViewModel(HostScreen, "EscapeFromTarkov.exe was not found. Please ensure you have copied the patcher to your SPT folder.")); + return; + } + + //check if patch folder is present if(!Directory.Exists(LazyOperations.PatchFolder)) { NavigateTo(new MessageViewModel(HostScreen, $"{LazyOperations.PatchFolder} folder is missing. Please copy it to\n'{Environment.CurrentDirectory}'\nand try patching again.")); diff --git a/Patcher/PatchGenerator/Resources/PatchClient.exe b/Patcher/PatchGenerator/Resources/PatchClient.exe index 4ba4183..3f88fa7 100644 Binary files a/Patcher/PatchGenerator/Resources/PatchClient.exe and b/Patcher/PatchGenerator/Resources/PatchClient.exe differ