mirror of
https://github.com/sp-tarkov/patcher.git
synced 2025-02-13 01:30:47 -05:00
Merge pull request 'add check for eft exe' (#5) from fix/no-eft-exe-check into main
Reviewed-on: waffle.lord/Patcher#5
This commit is contained in:
commit
334bc93ef7
@ -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."));
|
||||
|
BIN
Patcher/PatchGenerator/Resources/PatchClient.exe
(Stored with Git LFS)
BIN
Patcher/PatchGenerator/Resources/PatchClient.exe
(Stored with Git LFS)
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user