diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-12-04 23:47:27 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-12-04 23:47:27 -0500 |
commit | cb9d6ae5ad9252c2a36174856b28f12344d026f3 (patch) | |
tree | 3e5b559713bac52099349fa85b2253c4cc29a282 /src/SMAPI.Installer/InteractiveInstaller.cs | |
parent | 0f37c0f92da5fb6fcf9e4317a1b4c8d3f4df8010 (diff) | |
download | SMAPI-cb9d6ae5ad9252c2a36174856b28f12344d026f3.tar.gz SMAPI-cb9d6ae5ad9252c2a36174856b28f12344d026f3.tar.bz2 SMAPI-cb9d6ae5ad9252c2a36174856b28f12344d026f3.zip |
improve error when installer is pointed at a SDV 1.5.4 folder
Diffstat (limited to 'src/SMAPI.Installer/InteractiveInstaller.cs')
-rw-r--r-- | src/SMAPI.Installer/InteractiveInstaller.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/SMAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs index d8c27a2d..424fe42b 100644 --- a/src/SMAPI.Installer/InteractiveInstaller.cs +++ b/src/SMAPI.Installer/InteractiveInstaller.cs @@ -704,7 +704,15 @@ namespace StardewModdingApi.Installer } if (!context.LooksLikeGameFolder(directory)) { - this.PrintWarning("That directory doesn't contain a Stardew Valley executable."); + if (context.LooksLikeStardewValley154(directory)) + { + this.PrintWarning("That directory seems to have Stardew Valley 1.5.4 or earlier."); + this.PrintWarning("Please update your game to the latest version to use SMAPI."); + } + else + { + this.PrintWarning("That directory doesn't contain a Stardew Valley executable."); + } continue; } |