Revert "drop useless numbers from live version"
This reverts commit 7f532dc9b3af0f843ec0c223b8dd483239604e06.
This commit is contained in:
parent
0a53dbf2c7
commit
057d272306
@ -13,7 +13,13 @@ namespace EftPatchHelper.Helpers
|
|||||||
// Get eft live version
|
// Get eft live version
|
||||||
string eftVersion = FileVersionInfo.GetVersionInfo(Path.Join(settings.LiveEftPath, "EscapeFromTarkov.exe")).FileVersion;
|
string eftVersion = FileVersionInfo.GetVersionInfo(Path.Join(settings.LiveEftPath, "EscapeFromTarkov.exe")).FileVersion;
|
||||||
|
|
||||||
return string.Join('.', eftVersion);
|
//remove leading 0 from version number
|
||||||
|
if (eftVersion != null && eftVersion.StartsWith("0."))
|
||||||
|
{
|
||||||
|
eftVersion = eftVersion.Remove(0, 2);
|
||||||
|
}
|
||||||
|
|
||||||
|
return eftVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static EftClient GetClient(string Version)
|
public static EftClient GetClient(string Version)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user