From 5750e32d97e2e5c0657730703524a649b433af92 Mon Sep 17 00:00:00 2001 From: "waffle.lord" Date: Tue, 2 Apr 2024 09:13:55 -0400 Subject: [PATCH] make desktop contains, update warning wording --- SPTInstaller/Helpers/FileHelper.cs | 2 +- SPTInstaller/Installer Tasks/IntializationTask.cs | 2 +- SPTInstaller/SPTInstaller.csproj | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SPTInstaller/Helpers/FileHelper.cs b/SPTInstaller/Helpers/FileHelper.cs index 38aebca..cad871a 100644 --- a/SPTInstaller/Helpers/FileHelper.cs +++ b/SPTInstaller/Helpers/FileHelper.cs @@ -175,8 +175,8 @@ public static class FileHelper var problemNames = new Dictionary() { - { "Desktop", PathCheckType.EndsWith }, { "Documents", PathCheckType.EndsWith }, + { "Desktop", PathCheckType.Contains }, { "scoped_dir", PathCheckType.Contains }, { "Downloads", PathCheckType.Contains }, { "OneDrive", PathCheckType.Contains }, diff --git a/SPTInstaller/Installer Tasks/IntializationTask.cs b/SPTInstaller/Installer Tasks/IntializationTask.cs index b713465..fbdd5b2 100644 --- a/SPTInstaller/Installer Tasks/IntializationTask.cs +++ b/SPTInstaller/Installer Tasks/IntializationTask.cs @@ -36,7 +36,7 @@ public class InitializationTask : InstallerTaskBase 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}"); diff --git a/SPTInstaller/SPTInstaller.csproj b/SPTInstaller/SPTInstaller.csproj index 28e58a5..e7879f0 100644 --- a/SPTInstaller/SPTInstaller.csproj +++ b/SPTInstaller/SPTInstaller.csproj @@ -9,8 +9,8 @@ icon.ico Assets\icon.ico Debug;Release;TEST - 2.54 - 2.54 + 2.55 + 2.55 SPT-AKI