Merge pull request 'remove trailing slash from eft game path' (#90) from waffle.lord/Installer:fix/eft-path-ending-slash into master
Reviewed-on: SPT/Installer#90
This commit is contained in:
commit
074ac6e826
@ -20,7 +20,10 @@ public static class PreCheckHelper
|
|||||||
?.GetValue("InstallLocation");
|
?.GetValue("InstallLocation");
|
||||||
var info = (uninstallStringValue is string key) ? new DirectoryInfo(key) : null;
|
var info = (uninstallStringValue is string key) ? new DirectoryInfo(key) : null;
|
||||||
|
|
||||||
return info?.FullName;
|
if (info == null)
|
||||||
|
return null;
|
||||||
|
|
||||||
|
return Path.TrimEndingDirectorySeparator(info.FullName);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static Result DetectOriginalGameVersion(string gamePath)
|
public static Result DetectOriginalGameVersion(string gamePath)
|
||||||
|
@ -10,8 +10,8 @@
|
|||||||
<PackageIcon>icon.ico</PackageIcon>
|
<PackageIcon>icon.ico</PackageIcon>
|
||||||
<ApplicationIcon>Assets\spt_installer.ico</ApplicationIcon>
|
<ApplicationIcon>Assets\spt_installer.ico</ApplicationIcon>
|
||||||
<Configurations>Debug;Release;TEST</Configurations>
|
<Configurations>Debug;Release;TEST</Configurations>
|
||||||
<AssemblyVersion>2.69</AssemblyVersion>
|
<AssemblyVersion>2.70</AssemblyVersion>
|
||||||
<FileVersion>2.69</FileVersion>
|
<FileVersion>2.70</FileVersion>
|
||||||
<Company>SPT</Company>
|
<Company>SPT</Company>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user