make desktop contains, update warning wording

This commit is contained in:
IsWaffle 2024-04-02 09:13:55 -04:00
parent 8e8d7d534f
commit 5750e32d97
3 changed files with 4 additions and 4 deletions

View File

@ -175,8 +175,8 @@ public static class FileHelper
var problemNames = new Dictionary<string, PathCheckType>() var problemNames = new Dictionary<string, PathCheckType>()
{ {
{ "Desktop", PathCheckType.EndsWith },
{ "Documents", PathCheckType.EndsWith }, { "Documents", PathCheckType.EndsWith },
{ "Desktop", PathCheckType.Contains },
{ "scoped_dir", PathCheckType.Contains }, { "scoped_dir", PathCheckType.Contains },
{ "Downloads", PathCheckType.Contains }, { "Downloads", PathCheckType.Contains },
{ "OneDrive", PathCheckType.Contains }, { "OneDrive", PathCheckType.Contains },

View File

@ -36,7 +36,7 @@ public class InitializationTask : InstallerTaskBase
if (File.Exists(Path.Join(_data.TargetInstallPath, "EscapeFromTarkov.exe"))) if (File.Exists(Path.Join(_data.TargetInstallPath, "EscapeFromTarkov.exe")))
{ {
return Result.FromError("Installer is located in a folder that has existing game files. Please make sure the installer is in a fresh folder as per the guide"); return Result.FromError("Installer is located in a folder that has existing game files. Please make sure the installer is in an empty folder as per the guide");
} }
return Result.FromSuccess($"Current Game Version: {_data.OriginalGameVersion}"); return Result.FromSuccess($"Current Game Version: {_data.OriginalGameVersion}");

View File

@ -9,8 +9,8 @@
<PackageIcon>icon.ico</PackageIcon> <PackageIcon>icon.ico</PackageIcon>
<ApplicationIcon>Assets\icon.ico</ApplicationIcon> <ApplicationIcon>Assets\icon.ico</ApplicationIcon>
<Configurations>Debug;Release;TEST</Configurations> <Configurations>Debug;Release;TEST</Configurations>
<AssemblyVersion>2.54</AssemblyVersion> <AssemblyVersion>2.55</AssemblyVersion>
<FileVersion>2.54</FileVersion> <FileVersion>2.55</FileVersion>
<Company>SPT-AKI</Company> <Company>SPT-AKI</Company>
</PropertyGroup> </PropertyGroup>