diff --git a/SPTInstaller/SPTInstaller.csproj b/SPTInstaller/SPTInstaller.csproj
index 049d1d3..360be56 100644
--- a/SPTInstaller/SPTInstaller.csproj
+++ b/SPTInstaller/SPTInstaller.csproj
@@ -10,8 +10,8 @@
icon.ico
Assets\spt_installer.ico
Debug;Release;TEST
- 2.90
- 2.90
+ 2.91
+ 2.91
SPT
diff --git a/SPTInstaller/ViewModels/InstallPathSelectionViewModel.cs b/SPTInstaller/ViewModels/InstallPathSelectionViewModel.cs
index 1c08794..bcd0d57 100644
--- a/SPTInstaller/ViewModels/InstallPathSelectionViewModel.cs
+++ b/SPTInstaller/ViewModels/InstallPathSelectionViewModel.cs
@@ -152,6 +152,17 @@ public class InstallPathSelectionViewModel : ViewModelBase
_data.TargetInstallPath = SelectedPath;
+ _data.OriginalGamePath = PreCheckHelper.DetectOriginalGamePath();
+
+#if !TEST
+ if (_data.OriginalGamePath == null)
+ {
+ NavigateTo(new MessageViewModel(HostScreen,
+ Result.FromError("Could not find where you installed EFT.\n\nDo you own and have the game installed?")));
+ return;
+ }
+#endif
+
NavigateTo(new PreChecksViewModel(HostScreen));
}
}
\ No newline at end of file
diff --git a/SPTInstaller/ViewModels/PreChecksViewModel.cs b/SPTInstaller/ViewModels/PreChecksViewModel.cs
index ec84d0a..b09ebc6 100644
--- a/SPTInstaller/ViewModels/PreChecksViewModel.cs
+++ b/SPTInstaller/ViewModels/PreChecksViewModel.cs
@@ -128,21 +128,10 @@ public class PreChecksViewModel : ViewModelBase
return;
}
- data.OriginalGamePath = PreCheckHelper.DetectOriginalGamePath();
-
InstallPath = data.TargetInstallPath;
Log.Information($"Install Path: {FileHelper.GetRedactedPath(InstallPath)}");
-#if !TEST
- if (data.OriginalGamePath == null)
- {
- NavigateTo(new MessageViewModel(HostScreen,
- Result.FromError("Could not find where you installed EFT.\n\nDo you own and have the game installed?")));
- return;
- }
-#endif
-
if (data.OriginalGamePath == data.TargetInstallPath)
{
Log.CloseAndFlush();