summaryrefslogtreecommitdiff
path: root/src/SMAPI.Installer/Framework/InstallerContext.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI.Installer/Framework/InstallerContext.cs')
-rw-r--r--src/SMAPI.Installer/Framework/InstallerContext.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SMAPI.Installer/Framework/InstallerContext.cs b/src/SMAPI.Installer/Framework/InstallerContext.cs
index 68df2001..bb973230 100644
--- a/src/SMAPI.Installer/Framework/InstallerContext.cs
+++ b/src/SMAPI.Installer/Framework/InstallerContext.cs
@@ -55,11 +55,11 @@ namespace StardewModdingAPI.Installer.Framework
return this.GameScanner.LooksLikeGameFolder(dir);
}
- /// <summary>Get whether a folder seems to contain Stardew Valley 1.5.4 or earlier.</summary>
+ /// <summary>Get whether a folder seems to contain the game, and which version it contains if so.</summary>
/// <param name="dir">The folder to check.</param>
- public bool LooksLikeStardewValley154(DirectoryInfo dir)
+ public GameFolderType GetGameFolderType(DirectoryInfo dir)
{
- return this.GameScanner.LooksLikeStardewValley154(dir);
+ return this.GameScanner.GetGameFolderType(dir);
}
}
}