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");
|
||||
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)
|
||||
|
@ -10,8 +10,8 @@
|
||||
<PackageIcon>icon.ico</PackageIcon>
|
||||
<ApplicationIcon>Assets\spt_installer.ico</ApplicationIcon>
|
||||
<Configurations>Debug;Release;TEST</Configurations>
|
||||
<AssemblyVersion>2.69</AssemblyVersion>
|
||||
<FileVersion>2.69</FileVersion>
|
||||
<AssemblyVersion>2.70</AssemblyVersion>
|
||||
<FileVersion>2.70</FileVersion>
|
||||
<Company>SPT</Company>
|
||||
</PropertyGroup>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user