diff --git a/SPTInstaller/SPTInstaller.csproj b/SPTInstaller/SPTInstaller.csproj
index de7bf3d..8d6a127 100644
--- a/SPTInstaller/SPTInstaller.csproj
+++ b/SPTInstaller/SPTInstaller.csproj
@@ -10,8 +10,8 @@
icon.ico
Assets\spt_installer.ico
Debug;Release;TEST
- 2.93
- 2.93
+ 2.94
+ 2.94
SPT
diff --git a/SPTInstaller/ViewModels/InstallPathSelectionViewModel.cs b/SPTInstaller/ViewModels/InstallPathSelectionViewModel.cs
index bcd0d57..7506806 100644
--- a/SPTInstaller/ViewModels/InstallPathSelectionViewModel.cs
+++ b/SPTInstaller/ViewModels/InstallPathSelectionViewModel.cs
@@ -87,17 +87,17 @@ public class InstallPathSelectionViewModel : ViewModelBase
public void ValidatePath()
{
- if (String.IsNullOrEmpty(SelectedPath))
+ if (String.IsNullOrEmpty(SelectedPath) || SelectedPath.Length < 4)
{
ErrorMessage = "Please provide an install path";
ValidPath = false;
return;
}
- var match = Regex.Match(SelectedPath[2..], @"[\/:*?""<>|]");
+ var match = Regex.Match(SelectedPath[2..], @"[\/:*?""<>|!@#$%^&*+=,[\]{}`~;']|\\\\");
if (match.Success)
{
- ErrorMessage = "Path cannot contain these characters: / : * ? \" < > |";
+ ErrorMessage = "Path cannot contain symbols other than ( ) \\ - _ .";
ValidPath = false;
return;
}