Improved EFT not installed error to give user action point on how to remedy issue

This commit is contained in:
Dev 2024-07-18 09:35:29 +01:00
parent 7ea9b42452
commit d2d1e584c1

View File

@ -16,7 +16,7 @@ public class EftInstalledPreCheck : PreCheckBase
{ {
if (_internalData.OriginalGamePath is null || !Directory.Exists(_internalData.OriginalGamePath) || !File.Exists(Path.Join(_internalData.OriginalGamePath, "Escapefromtarkov.exe"))) if (_internalData.OriginalGamePath is null || !Directory.Exists(_internalData.OriginalGamePath) || !File.Exists(Path.Join(_internalData.OriginalGamePath, "Escapefromtarkov.exe")))
{ {
return PreCheckResult.FromError("EFT installation could not be found", "Retry", RequestReevaluation); return PreCheckResult.FromError("Your EFT installation could not be found, try running the Battlestate games launcher and ensure EFT is installed on your computer", "Retry", RequestReevaluation);
} }
return PreCheckResult.FromSuccess("EFT install folder found"); return PreCheckResult.FromSuccess("EFT install folder found");